summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/pgtable_64.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-05 22:31:04 +0300
committerJeremy Fitzhardinge <jeremy@goop.org>2009-02-06 23:31:49 +0300
commit3180fba0eec0d14e4ac8183a90d643d0d3383c75 (patch)
tree02a30fc6a0c96a826e2ad3fb9eb1378edd0c4656 /arch/x86/include/asm/pgtable_64.h
parentbd44d64db1db6acf2dea9ba130b8cb0a54e1dabd (diff)
downloadlinux-3180fba0eec0d14e4ac8183a90d643d0d3383c75.tar.xz
x86: unify pmd_pfn
Impact: cleanup Unify and demacro pmd_pfn. 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 6cc4133705b9..279ddc6a4eb8 100644
--- a/arch/x86/include/asm/pgtable_64.h
+++ b/arch/x86/include/asm/pgtable_64.h
@@ -191,8 +191,6 @@ static inline int pud_large(pud_t pte)
}
/* PMD - Level 2 access */
-#define pmd_pfn(x) ((pmd_val((x)) & __PHYSICAL_MASK) >> PAGE_SHIFT)
-
#define pte_to_pgoff(pte) ((pte_val((pte)) & PHYSICAL_PAGE_MASK) >> PAGE_SHIFT)
#define pgoff_to_pte(off) ((pte_t) { .pte = ((off) << PAGE_SHIFT) | \
_PAGE_FILE })