vserver 2.0 rc7
[linux-2.6.git] / include / asm-generic / pgtable-nopmd.h
index b7714d4..c8d53ba 100644 (file)
@@ -5,6 +5,8 @@
 
 #include <asm-generic/pgtable-nopud.h>
 
+#define __PAGETABLE_PMD_FOLDED
+
 /*
  * Having the pmd type consist of a pud gets the size right, and allows
  * us to conceptually access the pud entry that this pmd is folded into
@@ -55,6 +57,9 @@ static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address)
 #define pmd_free(x)                            do { } while (0)
 #define __pmd_free_tlb(tlb, x)                 do { } while (0)
 
+#undef  pmd_addr_end
+#define pmd_addr_end(addr, end)                        (end)
+
 #endif /* __ASSEMBLY__ */
 
 #endif /* _PGTABLE_NOPMD_H */