summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/pgtable_64.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-05 22:30:53 +0300
committerJeremy Fitzhardinge <jeremy@goop.org>2009-02-06 23:31:48 +0300
commit6fff47e3ac5e17f7e164ac4ff9ea29aba3c54d73 (patch)
treefad01d56bf2f4c0eb0d8f2d5378815c9a0915c5c /arch/x86/include/asm/pgtable_64.h
parentc5f040b12b2381591932a007432e7ed86b3f2796 (diff)
downloadlinux-6fff47e3ac5e17f7e164ac4ff9ea29aba3c54d73.tar.xz
x86: unify pud_page_vaddr
Impact: cleanup Unify and demacro pud_page_vaddr. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/include/asm/pgtable_64.h')
-rw-r--r--arch/x86/include/asm/pgtable_64.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/pgtable_64.h b/arch/x86/include/asm/pgtable_64.h
index 4f8dbb99b692..9875e40c058d 100644
--- a/arch/x86/include/asm/pgtable_64.h
+++ b/arch/x86/include/asm/pgtable_64.h
@@ -185,8 +185,6 @@ static inline int pgd_large(pgd_t pgd) { return 0; }
/* PUD - Level3 access */
/* to find an entry in a page-table-directory. */
-#define pud_page_vaddr(pud) \
- ((unsigned long)__va(pud_val((pud)) & PHYSICAL_PAGE_MASK))
#define pud_page(pud) (pfn_to_page(pud_val((pud)) >> PAGE_SHIFT))
#define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
#define pud_offset(pgd, address) \