]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/pgtable_64.h
x86: add pgd_large() on 64-bit, for consistency
[linux-2.6-omap-h63xx.git] / include / asm-x86 / pgtable_64.h
index 7fd5e0e2361e001277f32ab9c85d0daf0aa64580..0a0b77bc736a82171beb2f50d39df7a6e2aae947 100644 (file)
@@ -188,6 +188,7 @@ static inline unsigned long pmd_bad(pmd_t pmd)
 #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr))
 #define pgd_offset_k(address) (init_level4_pgt + pgd_index(address))
 #define pgd_present(pgd) (pgd_val(pgd) & _PAGE_PRESENT)
+static inline int pgd_large(pgd_t pgd) { return 0; }
 #define mk_kernel_pgd(address) ((pgd_t){ (address) | _KERNPG_TABLE })
 
 /* PUD - Level3 access */