]> err.no Git - linux-2.6/blobdiff - include/asm-x86/page_32.h
x86: fix spontaneous reboot with allyesconfig bzImage
[linux-2.6] / include / asm-x86 / page_32.h
index 11c4b39cada16c8f4f3929d08fc07e0ecc9f8aee..5f7257fd589b9529c4c890709e58a97a8cef241a 100644 (file)
@@ -48,11 +48,14 @@ typedef unsigned long       pgprotval_t;
 typedef unsigned long  phys_addr_t;
 
 typedef union { pteval_t pte, pte_low; } pte_t;
-typedef pte_t boot_pte_t;
 
 #endif /* __ASSEMBLY__ */
 #endif /* CONFIG_X86_PAE */
 
+#ifndef __ASSEMBLY__
+typedef struct page *pgtable_t;
+#endif
+
 #ifdef CONFIG_HUGETLB_PAGE
 #define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
 #endif
@@ -73,7 +76,6 @@ extern int nx_enabled;
  */
 extern unsigned int __VMALLOC_RESERVE;
 extern int sysctl_legacy_va_layout;
-extern int page_is_ram(unsigned long pagenr);
 
 #define VMALLOC_RESERVE                ((unsigned long)__VMALLOC_RESERVE)
 #define MAXMEM                 (-__PAGE_OFFSET-__VMALLOC_RESERVE)