aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/page_32.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-01-30 07:32:44 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:32:44 -0500
commite62f4473f32a882a537b32cb7202da8d5d7c4f1f (patch)
treed407a2b5bda90cfc999b763f7398e7f50a087b5a /include/asm-x86/page_32.h
parent98fd5aee348f0420afd1c636790d50aaaec6ceec (diff)
x86: page.h: move remaining bits and pieces
# HG changeset patch # User Jeremy Fitzhardinge <jeremy@xensource.com> # Date 1199319657 28800 # Node ID bba9287641ff90e836d090d80b5c0a846aab7162 # Parent d617b72a0cc9d14bde2087d065c36d4ed3265761 x86: page.h: move remaining bits and pieces Move the remaining odds and ends into page.h. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/page_32.h')
-rw-r--r--include/asm-x86/page_32.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/asm-x86/page_32.h b/include/asm-x86/page_32.h
index a27424a2ee0d..c27b41fd0254 100644
--- a/include/asm-x86/page_32.h
+++ b/include/asm-x86/page_32.h
@@ -7,7 +7,6 @@
7/* 7/*
8 * These are used to make use of C type-checking.. 8 * These are used to make use of C type-checking..
9 */ 9 */
10extern int nx_enabled;
11 10
12#endif /* !__ASSEMBLY__ */ 11#endif /* !__ASSEMBLY__ */
13 12
@@ -15,26 +14,10 @@ extern int nx_enabled;
15 14
16struct vm_area_struct; 15struct vm_area_struct;
17 16
18/*
19 * This much address space is reserved for vmalloc() and iomap()
20 * as well as fixmap mappings.
21 */
22extern unsigned int __VMALLOC_RESERVE;
23
24extern int sysctl_legacy_va_layout;
25
26extern int page_is_ram(unsigned long pagenr);
27
28#endif /* __ASSEMBLY__ */ 17#endif /* __ASSEMBLY__ */
29 18
30#define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE)
31#define MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE)
32
33 19
34#include <asm-generic/memory_model.h>
35#include <asm-generic/page.h>
36 20
37#define __HAVE_ARCH_GATE_AREA 1
38#endif /* __KERNEL__ */ 21#endif /* __KERNEL__ */
39 22
40#endif /* _I386_PAGE_H */ 23#endif /* _I386_PAGE_H */