mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
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>
This commit is contained in:
parent
b37814352d
commit
a5ba7d5453
@ -13,6 +13,8 @@
|
||||
[ P4 control ] 0xE0000000
|
||||
*/
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
/* PAGE_SHIFT determines the page size */
|
||||
#if defined(CONFIG_PAGE_SIZE_4KB)
|
||||
# define PAGE_SHIFT 12
|
||||
@ -51,7 +53,6 @@
|
||||
#define HUGETLB_PAGE_ORDER (HPAGE_SHIFT-PAGE_SHIFT)
|
||||
#endif
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
extern void (*clear_page)(void *to);
|
||||
|
Loading…
Reference in New Issue
Block a user