From: Andrew Morton In file included from include/asm/ustack.h:8, from include/asm/resource.h:4, from include/linux/resource.h:68, from usr/include/sys/resource.h:10, from usr/include/sys/wait.h:10, from usr/klibc/wait.c:6: include/asm/page.h:39:3: #error Unsupported page size! kludge it: Cc: David Woodhouse Cc: "H. Peter Anvin" Signed-off-by: Andrew Morton --- include/asm-ia64/page.h | 4 ++++ 1 files changed, 4 insertions(+) diff -puN include/asm-ia64/page.h~git-hdrcleanup-vs-git-klibc-on-ia64-2 include/asm-ia64/page.h --- 25/include/asm-ia64/page.h~git-hdrcleanup-vs-git-klibc-on-ia64-2 Mon May 15 01:48:22 2006 +++ 25-akpm/include/asm-ia64/page.h Mon May 15 01:49:38 2006 @@ -36,7 +36,11 @@ #elif defined(CONFIG_IA64_PAGE_SIZE_64KB) # define PAGE_SHIFT 16 #else +#ifdef __KERNEL__ # error Unsupported page size! +#else +#define PAGE_SHIFT 12 +#endif #endif #define PAGE_SIZE (__IA64_UL_CONST(1) << PAGE_SHIFT) _