x86: unify pmd_present
[deliverable/linux.git] / arch / x86 / include / asm / pgtable_64.h
index 447634698f5d827829d05f3c4f8408a1750c9874..471b3058f3d7a0b8f65c0721fa4fe9bfb02833d1 100644 (file)
@@ -208,7 +208,6 @@ static inline int pud_large(pud_t pte)
 #define pmd_offset(dir, address) ((pmd_t *)pud_page_vaddr(*(dir)) + \
                                  pmd_index(address))
 #define pmd_none(x)    (!pmd_val((x)))
-#define pmd_present(x) (pmd_val((x)) & _PAGE_PRESENT)
 #define pfn_pmd(nr, prot) (__pmd(((nr) << PAGE_SHIFT) | pgprot_val((prot))))
 #define pmd_pfn(x)  ((pmd_val((x)) & __PHYSICAL_MASK) >> PAGE_SHIFT)
 
This page took 0.026594 seconds and 5 git commands to generate.