]> err.no Git - linux-2.6/blobdiff - include/asm-mips/pgtable.h
[PATCH] mm/filemap.c: make two functions static
[linux-2.6] / include / asm-mips / pgtable.h
index 878843203d67aca6580f2aa2d997d39a6685b56e..dbe13da0bdadbe55affd38c3999ed4e0eb04593b 100644 (file)
 #include <asm-generic/4level-fixup.h>
 
 #include <linux/config.h>
-#ifdef CONFIG_MIPS32
+#ifdef CONFIG_32BIT
 #include <asm/pgtable-32.h>
 #endif
-#ifdef CONFIG_MIPS64
+#ifdef CONFIG_64BIT
 #include <asm/pgtable-64.h>
 #endif
 
@@ -350,7 +350,7 @@ static inline void update_mmu_cache(struct vm_area_struct *vma,
        __update_cache(vma, address, pte);
 }
 
-#ifndef CONFIG_DISCONTIGMEM
+#ifndef CONFIG_NEED_MULTIPLE_NODES
 #define kern_addr_valid(addr)  (1)
 #endif