summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/pgtable-3level.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-05 22:31:02 +0300
committerJeremy Fitzhardinge <jeremy@goop.org>2009-02-06 23:31:49 +0300
commit01ade20d5a22e6ef002cbb751dddc3a01a78f998 (patch)
tree28fefbc83299d5924bc3d9fd6d3448e014417762 /arch/x86/include/asm/pgtable-3level.h
parente24d7eee0beda24504bf6a4aa03be68328557475 (diff)
downloadlinux-01ade20d5a22e6ef002cbb751dddc3a01a78f998.tar.xz
x86: unify pmd_offset
Impact: cleanup Unify and demacro pmd_offset. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/include/asm/pgtable-3level.h')
-rw-r--r--arch/x86/include/asm/pgtable-3level.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h
index 28ba09ac2308..7ad9d05710b1 100644
--- a/arch/x86/include/asm/pgtable-3level.h
+++ b/arch/x86/include/asm/pgtable-3level.h
@@ -115,10 +115,6 @@ static inline void pud_clear(pud_t *pudp)
write_cr3(pgd);
}
-/* Find an entry in the second-level page table.. */
-#define pmd_offset(pud, address) ((pmd_t *)pud_page_vaddr(*(pud)) + \
- pmd_index(address))
-
#ifdef CONFIG_SMP
static inline pte_t native_ptep_get_and_clear(pte_t *ptep)
{