aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-04-27 10:48:08 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-27 10:48:08 -0400
commitcd469e0cc67b74ba41daec335ea72baedb750b80 (patch)
tree8054cc6b13f48785165af1485a873dd3e33d4ca6 /include
parentad1588798620901c12ba86c71865150a4eb727bf (diff)
Exclude asm-generic/{page,memory_model}.h from user bits of i386/x86_64 page.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/page.h4
-rw-r--r--include/asm-x86_64/page.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-i386/page.h b/include/asm-i386/page.h
index 85f35e67020f..e3a552fa5538 100644
--- a/include/asm-i386/page.h
+++ b/include/asm-i386/page.h
@@ -136,9 +136,9 @@ extern int page_is_ram(unsigned long pagenr);
136 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ 136 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
137 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 137 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
138 138
139#endif /* __KERNEL__ */
140
141#include <asm-generic/memory_model.h> 139#include <asm-generic/memory_model.h>
142#include <asm-generic/page.h> 140#include <asm-generic/page.h>
143 141
142#endif /* __KERNEL__ */
143
144#endif /* _I386_PAGE_H */ 144#endif /* _I386_PAGE_H */
diff --git a/include/asm-x86_64/page.h b/include/asm-x86_64/page.h
index b59f33e6b838..f7bf875aae40 100644
--- a/include/asm-x86_64/page.h
+++ b/include/asm-x86_64/page.h
@@ -135,9 +135,9 @@ typedef struct { unsigned long pgprot; } pgprot_t;
135 135
136#define __HAVE_ARCH_GATE_AREA 1 136#define __HAVE_ARCH_GATE_AREA 1
137 137
138#endif /* __KERNEL__ */
139
140#include <asm-generic/memory_model.h> 138#include <asm-generic/memory_model.h>
141#include <asm-generic/page.h> 139#include <asm-generic/page.h>
142 140
141#endif /* __KERNEL__ */
142
143#endif /* _X86_64_PAGE_H */ 143#endif /* _X86_64_PAGE_H */