vserver 2.0 rc7
[linux-2.6.git] / include / asm-generic / pgtable-nopud.h
index ffce31f..82e29f0 100644 (file)
@@ -3,6 +3,8 @@
 
 #ifndef __ASSEMBLY__
 
+#define __PAGETABLE_PUD_FOLDED
+
 /*
  * Having the pud type consist of a pgd gets the size right, and allows
  * us to conceptually access the pgd entry that this pud is folded into
@@ -52,5 +54,8 @@ static inline pud_t * pud_offset(pgd_t * pgd, unsigned long address)
 #define pud_free(x)                            do { } while (0)
 #define __pud_free_tlb(tlb, x)                 do { } while (0)
 
+#undef  pud_addr_end
+#define pud_addr_end(addr, end)                        (end)
+
 #endif /* __ASSEMBLY__ */
 #endif /* _PGTABLE_NOPUD_H */