i386: pfn_valid The definition for CONFIG_FLATMEM is already provided so we can remove the statements for i386. Signed-off-by: Christoph Lameter Index: linux-2.6.18-mm3/include/asm-i386/page.h =================================================================== --- linux-2.6.18-mm3.orig/include/asm-i386/page.h 2006-10-04 01:48:13.450062895 -0500 +++ linux-2.6.18-mm3/include/asm-i386/page.h 2006-10-04 03:06:35.042743922 -0500 @@ -126,9 +126,6 @@ extern int page_is_ram(unsigned long pag #define __pa(x) ((unsigned long)(x)-PAGE_OFFSET) #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET)) #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) -#ifdef CONFIG_FLATMEM -#define pfn_valid(pfn) ((pfn) < max_mapnr) -#endif /* CONFIG_FLATMEM */ #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)