|
@@ -191,8 +191,6 @@ static inline int pud_large(pud_t pte)
|
|
}
|
|
}
|
|
|
|
|
|
/* PMD - Level 2 access */
|
|
/* 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 pfn_pmd(nr, prot) (__pmd(((nr) << PAGE_SHIFT) | pgprot_val((prot))))
|
|
#define pmd_pfn(x) ((pmd_val((x)) & __PHYSICAL_MASK) >> PAGE_SHIFT)
|
|
#define pmd_pfn(x) ((pmd_val((x)) & __PHYSICAL_MASK) >> PAGE_SHIFT)
|
|
|
|
|