提交 5daf3033 编写于 作者: D David Woodhouse

Fix m68knommu exported headers

Just clean up asm/page.h
Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 09087a1a
#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 @@ ...@@ -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; ...@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册