git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-powerpc
/
tce.h
diff --git
a/include/asm-powerpc/tce.h
b/include/asm-powerpc/tce.h
index
c9483ad
..
f663634
100644
(file)
--- a/
include/asm-powerpc/tce.h
+++ b/
include/asm-powerpc/tce.h
@@
-22,6
+22,8
@@
#define _ASM_POWERPC_TCE_H
#ifdef __KERNEL__
#define _ASM_POWERPC_TCE_H
#ifdef __KERNEL__
+#include <asm/iommu.h>
+
/*
* Tces come in two formats, one for the virtual bus and a different
* format for PCI
/*
* Tces come in two formats, one for the virtual bus and a different
* format for PCI
@@
-33,7
+35,6
@@
#define TCE_SHIFT 12
#define TCE_PAGE_SIZE (1 << TCE_SHIFT)
#define TCE_SHIFT 12
#define TCE_PAGE_SIZE (1 << TCE_SHIFT)
-#define TCE_PAGE_FACTOR (PAGE_SHIFT - TCE_SHIFT)
#define TCE_ENTRY_SIZE 8 /* each TCE is 64 bits */
#define TCE_ENTRY_SIZE 8 /* each TCE is 64 bits */