1
0
Fork 0

Fix H8300 exported headers.

Just clean up asm/page.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
hifive-unleashed-5.1
David Woodhouse 2006-09-21 08:51:43 +01:00
parent 5daf3033aa
commit 0000f0b1bc
1 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,7 @@
#ifndef _H8300_PAGE_H
#define _H8300_PAGE_H
#ifdef __KERNEL__
/* PAGE_SHIFT determines the page size */
@ -8,8 +9,6 @@
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
#ifdef __KERNEL__
#include <asm/setup.h>
#ifndef __ASSEMBLY__
@ -76,9 +75,9 @@ extern unsigned long memory_end;
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */
#include <asm-generic/memory_model.h>
#include <asm-generic/page.h>
#endif /* __KERNEL__ */
#endif /* _H8300_PAGE_H */