]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/mips/include/asm/pgtable.h
MIPS: Two-level pagetables for 64-bit kernels with 64KB pages.
[mv-sheeva.git] / arch / mips / include / asm / pgtable.h
index 1854336e56a299d70e1b9b045edc93334f2829bf..02335fda9e776820c703d4b2f4a065f8e5693c97 100644 (file)
@@ -177,7 +177,7 @@ static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *pt
  */
 #define set_pmd(pmdptr, pmdval) do { *(pmdptr) = (pmdval); } while(0)
 
-#ifdef CONFIG_64BIT
+#ifndef __PAGETABLE_PMD_FOLDED
 /*
  * (puds are folded into pgds so this doesn't get actually called,
  * but the define is needed for a generic inline function.)