Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Move __KERNEL__ up in asm/page.h.

This was breaking the uClibc build, which triggered the bogus page
size error.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+2 -1
+2 -1
include/asm-sh/page.h
··· 13 13 [ P4 control ] 0xE0000000 14 14 */ 15 15 16 + #ifdef __KERNEL__ 17 + 16 18 /* PAGE_SHIFT determines the page size */ 17 19 #if defined(CONFIG_PAGE_SIZE_4KB) 18 20 # define PAGE_SHIFT 12 ··· 53 51 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT-PAGE_SHIFT) 54 52 #endif 55 53 56 - #ifdef __KERNEL__ 57 54 #ifndef __ASSEMBLY__ 58 55 59 56 extern void (*clear_page)(void *to);