aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/page_32.h
diff options
context:
space:
mode:
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 @@
/*
* These are used to make use of C type-checking..
*/
-extern int nx_enabled;
#endif /* !__ASSEMBLY__ */
@@ -15,26 +14,10 @@ extern int nx_enabled;
struct vm_area_struct;
-/*
- * This much address space is reserved for vmalloc() and iomap()
- * as well as fixmap mappings.
- */
-extern unsigned int __VMALLOC_RESERVE;
-
-extern int sysctl_legacy_va_layout;
-
-extern int page_is_ram(unsigned long pagenr);
-
#endif /* __ASSEMBLY__ */
-#define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE)
-#define MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE)
-
-#include <asm-generic/memory_model.h>
-#include <asm-generic/page.h>
-#define __HAVE_ARCH_GATE_AREA 1
#endif /* __KERNEL__ */
#endif /* _I386_PAGE_H */