Commit 0000f0b1 authored by David Woodhouse's avatar David Woodhouse

Fix H8300 exported headers.

Just clean up asm/page.h
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 5daf3033
#ifndef _H8300_PAGE_H #ifndef _H8300_PAGE_H
#define _H8300_PAGE_H #define _H8300_PAGE_H
#ifdef __KERNEL__
/* PAGE_SHIFT determines the page size */ /* PAGE_SHIFT determines the page size */
...@@ -8,8 +9,6 @@ ...@@ -8,8 +9,6 @@
#define PAGE_SIZE (1UL << PAGE_SHIFT) #define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1)) #define PAGE_MASK (~(PAGE_SIZE-1))
#ifdef __KERNEL__
#include <asm/setup.h> #include <asm/setup.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
...@@ -76,9 +75,9 @@ extern unsigned long memory_end; ...@@ -76,9 +75,9 @@ extern unsigned long memory_end;
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */
#include <asm-generic/memory_model.h> #include <asm-generic/memory_model.h>
#include <asm-generic/page.h> #include <asm-generic/page.h>
#endif /* __KERNEL__ */
#endif /* _H8300_PAGE_H */ #endif /* _H8300_PAGE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment