aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-h8300/page.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-21 03:51:43 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-21 03:51:43 -0400
commit0000f0b1bc9aa340356a8dcdb9e8b1dbbaf0afcb (patch)
tree456a7fd9a0c0ba8e538abe5bb41528da80070947 /include/asm-h8300/page.h
parent5daf3033aa4fc5ec0535816d8a8e94874160482e (diff)
Fix H8300 exported headers.
Just clean up asm/page.h Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-h8300/page.h')
-rw-r--r--include/asm-h8300/page.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-h8300/page.h b/include/asm-h8300/page.h
index d673077d2fd6..3b4f2903f91d 100644
--- a/include/asm-h8300/page.h
+++ b/include/asm-h8300/page.h
@@ -1,6 +1,7 @@
1#ifndef _H8300_PAGE_H 1#ifndef _H8300_PAGE_H
2#define _H8300_PAGE_H 2#define _H8300_PAGE_H
3 3
4#ifdef __KERNEL__
4 5
5/* PAGE_SHIFT determines the page size */ 6/* PAGE_SHIFT determines the page size */
6 7
@@ -8,8 +9,6 @@
8#define PAGE_SIZE (1UL << PAGE_SHIFT) 9#define PAGE_SIZE (1UL << PAGE_SHIFT)
9#define PAGE_MASK (~(PAGE_SIZE-1)) 10#define PAGE_MASK (~(PAGE_SIZE-1))
10 11
11#ifdef __KERNEL__
12
13#include <asm/setup.h> 12#include <asm/setup.h>
14 13
15#ifndef __ASSEMBLY__ 14#ifndef __ASSEMBLY__
@@ -76,9 +75,9 @@ extern unsigned long memory_end;
76 75
77#endif /* __ASSEMBLY__ */ 76#endif /* __ASSEMBLY__ */
78 77
79#endif /* __KERNEL__ */
80
81#include <asm-generic/memory_model.h> 78#include <asm-generic/memory_model.h>
82#include <asm-generic/page.h> 79#include <asm-generic/page.h>
83 80
81#endif /* __KERNEL__ */
82
84#endif /* _H8300_PAGE_H */ 83#endif /* _H8300_PAGE_H */