x86: unify pmd_offset
[deliverable/linux.git] / arch / x86 / include / asm / pgtable_64.h
index 15f42d6ee2fdca1339d4c78cc00508cf625b8d20..78269656cf018852666ec46aa05669fb9744f4b1 100644 (file)
@@ -191,8 +191,6 @@ static inline int pud_large(pud_t pte)
 }
 
 /* PMD  - Level 2 access */
-#define pmd_offset(dir, address) ((pmd_t *)pud_page_vaddr(*(dir)) + \
-                                 pmd_index(address))
 #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.029226 seconds and 5 git commands to generate.