Displaying 1 result from an estimated 1 matches for "config_sparc64_page_size_8kb".
2006 Feb 14
2
[rfc patch] mman.h remove asm/page.h include
klibc fails to compile on sparc64 since the kbuild switch:
In file included from include/sys/mman.h:11,
from klibc/malloc.c:8:
linux/include/asm/page.h:18:2: error: #error No page size specified in kernel configuration
the current dirty build hack is to define CONFIG_SPARC64_PAGE_SIZE_8KB
in the sparc64 MCONFIG.
belows patch removes the asm/page.h include.
another way to fix that would be to move the __KERNEL__ definition up
in the asm-sparc64/page.h, i'm not sure which is preferrable.
warning: belows patch is only compile and runtime tested on x86,
but i didn't see any PA...