1 #ifndef _PGTABLE_NOPUD_H
2 #define _PGTABLE_NOPUD_H
3 
4 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
5 #error "This version of Linux should not need compat pgtable-nopud.h"
6 #endif
7 
8 #define pud_t             pgd_t
9 #define pud_offset(d, va)     d
10 #define pud_none(pud)         0
11 #define pud_present(pud)      1
12 #define pud_bad(pud)          0
13 #define PTRS_PER_PUD          1
14 
15 #endif /* _PGTABLE_NOPUD_H */
16