diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-09-21 03:34:39 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-09-21 03:34:39 -0400 |
commit | 6ff6340abeaaf1a15587c87dac3e56754778cc7a (patch) | |
tree | c8190e7a854f8fc13dcf35ca62fe975fb06c8a16 /include/asm-arm/page.h | |
parent | 1f8b444ceabb228594121d3ccea15248a4c2e1a4 (diff) |
[HEADERS] Fix ARM 'make headers_check'
Sanitise the ARM headers exported to userspace.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-arm/page.h')
-rw-r--r-- | include/asm-arm/page.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h index b721270b9986..02bd3ee935b0 100644 --- a/include/asm-arm/page.h +++ b/include/asm-arm/page.h | |||
@@ -11,13 +11,13 @@ | |||
11 | #define _ASMARM_PAGE_H | 11 | #define _ASMARM_PAGE_H |
12 | 12 | ||
13 | 13 | ||
14 | #ifdef __KERNEL__ | ||
15 | |||
14 | /* PAGE_SHIFT determines the page size */ | 16 | /* PAGE_SHIFT determines the page size */ |
15 | #define PAGE_SHIFT 12 | 17 | #define PAGE_SHIFT 12 |
16 | #define PAGE_SIZE (1UL << PAGE_SHIFT) | 18 | #define PAGE_SIZE (1UL << PAGE_SHIFT) |
17 | #define PAGE_MASK (~(PAGE_SIZE-1)) | 19 | #define PAGE_MASK (~(PAGE_SIZE-1)) |
18 | 20 | ||
19 | #ifdef __KERNEL__ | ||
20 | |||
21 | /* to align the pointer to the (next) page boundary */ | 21 | /* to align the pointer to the (next) page boundary */ |
22 | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) | 22 | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
23 | 23 | ||