提交 cd469e0c 编写于 作者: D David Woodhouse

Exclude asm-generic/{page,memory_model}.h from user bits of i386/x86_64 page.h

Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 ad158879
...@@ -136,9 +136,9 @@ extern int page_is_ram(unsigned long pagenr); ...@@ -136,9 +136,9 @@ extern int page_is_ram(unsigned long pagenr);
((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
#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 /* _I386_PAGE_H */ #endif /* _I386_PAGE_H */
...@@ -135,9 +135,9 @@ typedef struct { unsigned long pgprot; } pgprot_t; ...@@ -135,9 +135,9 @@ typedef struct { unsigned long pgprot; } pgprot_t;
#define __HAVE_ARCH_GATE_AREA 1 #define __HAVE_ARCH_GATE_AREA 1
#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 /* _X86_64_PAGE_H */ #endif /* _X86_64_PAGE_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册