X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Ftce.h;h=f663634cccc9c89b8d87164d98387cc61e97773a;hb=7ac3ae32d170cea8cb8e7822acc29ed8f1b1018d;hp=c9483adbf59994edc016a90b4f8dfac29449e72f;hpb=bc97ce951cfb697eaac9d5b6a2fbe4544fdf1a7c;p=linux-2.6 diff --git a/include/asm-powerpc/tce.h b/include/asm-powerpc/tce.h index c9483adbf5..f663634ccc 100644 --- a/include/asm-powerpc/tce.h +++ b/include/asm-powerpc/tce.h @@ -22,6 +22,8 @@ #define _ASM_POWERPC_TCE_H #ifdef __KERNEL__ +#include + /* * 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_PAGE_FACTOR (PAGE_SHIFT - TCE_SHIFT) #define TCE_ENTRY_SIZE 8 /* each TCE is 64 bits */