Fix m68knommu exported headers
Just clean up asm/page.h Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
09087a1a87
commit
5daf3033aa
|
@ -1,6 +1,7 @@
|
||||||
#ifndef _M68KNOMMU_PAGE_H
|
#ifndef _M68KNOMMU_PAGE_H
|
||||||
#define _M68KNOMMU_PAGE_H
|
#define _M68KNOMMU_PAGE_H
|
||||||
|
|
||||||
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
/* PAGE_SHIFT determines the page size */
|
/* PAGE_SHIFT determines the page size */
|
||||||
|
|
||||||
|
@ -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,8 +75,8 @@ extern unsigned long memory_end;
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
|
||||||
|
|
||||||
#include <asm-generic/page.h>
|
#include <asm-generic/page.h>
|
||||||
|
|
||||||
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
#endif /* _M68KNOMMU_PAGE_H */
|
#endif /* _M68KNOMMU_PAGE_H */
|
||||||
|
|
Loading…
Reference in a new issue