--- zzzz-none-000/linux-2.6.19.2/include/asm-powerpc/tce.h 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/include/asm-powerpc/tce.h 2007-01-11 07:38:19.000000000 +0000 @@ -22,8 +22,6 @@ #define _ASM_POWERPC_TCE_H #ifdef __KERNEL__ -#include - /* * Tces come in two formats, one for the virtual bus and a different * format for PCI @@ -35,6 +33,7 @@ #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 */