X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Ftce.h;h=f663634cccc9c89b8d87164d98387cc61e97773a;hb=7cd58e43810852eeb7af5a0c803f3890bd08b581;hp=c9483adbf59994edc016a90b4f8dfac29449e72f;hpb=61b9175808670d9abf52156803ae0ed1e3706ac4;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 */