aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/page.h')
-rw-r--r--include/asm-i386/page.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/asm-i386/page.h b/include/asm-i386/page.h
index 30f52a2263ba..f5bf544c729a 100644
--- a/include/asm-i386/page.h
+++ b/include/asm-i386/page.h
@@ -12,7 +12,6 @@
12#ifdef __KERNEL__ 12#ifdef __KERNEL__
13#ifndef __ASSEMBLY__ 13#ifndef __ASSEMBLY__
14 14
15#include <linux/config.h>
16 15
17#ifdef CONFIG_X86_USE_3DNOW 16#ifdef CONFIG_X86_USE_3DNOW
18 17
@@ -97,6 +96,8 @@ typedef struct { unsigned long pgprot; } pgprot_t;
97 96
98#ifndef __ASSEMBLY__ 97#ifndef __ASSEMBLY__
99 98
99struct vm_area_struct;
100
100/* 101/*
101 * This much address space is reserved for vmalloc() and iomap() 102 * This much address space is reserved for vmalloc() and iomap()
102 * as well as fixmap mappings. 103 * as well as fixmap mappings.
@@ -137,9 +138,10 @@ extern int page_is_ram(unsigned long pagenr);
137 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ 138 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
138 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 139 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
139 140
140#endif /* __KERNEL__ */
141
142#include <asm-generic/memory_model.h> 141#include <asm-generic/memory_model.h>
143#include <asm-generic/page.h> 142#include <asm-generic/page.h>
144 143
144#define __HAVE_ARCH_GATE_AREA 1
145#endif /* __KERNEL__ */
146
145#endif /* _I386_PAGE_H */ 147#endif /* _I386_PAGE_H */