diff options
Diffstat (limited to 'arch/sparc/include/asm/page_32.h')
-rw-r--r-- | arch/sparc/include/asm/page_32.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/sparc/include/asm/page_32.h b/arch/sparc/include/asm/page_32.h index 156707b0f18d..bb5c2ac4055d 100644 --- a/arch/sparc/include/asm/page_32.h +++ b/arch/sparc/include/asm/page_32.h | |||
@@ -8,14 +8,10 @@ | |||
8 | #ifndef _SPARC_PAGE_H | 8 | #ifndef _SPARC_PAGE_H |
9 | #define _SPARC_PAGE_H | 9 | #define _SPARC_PAGE_H |
10 | 10 | ||
11 | #define PAGE_SHIFT 12 | 11 | #include <linux/const.h> |
12 | 12 | ||
13 | #ifndef __ASSEMBLY__ | 13 | #define PAGE_SHIFT 12 |
14 | /* I have my suspicions... -DaveM */ | 14 | #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) |
15 | #define PAGE_SIZE (1UL << PAGE_SHIFT) | ||
16 | #else | ||
17 | #define PAGE_SIZE (1 << PAGE_SHIFT) | ||
18 | #endif | ||
19 | #define PAGE_MASK (~(PAGE_SIZE-1)) | 15 | #define PAGE_MASK (~(PAGE_SIZE-1)) |
20 | 16 | ||
21 | #include <asm/btfixup.h> | 17 | #include <asm/btfixup.h> |