Commit bd44d64d authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge

x86: remove redundant pfn_pmd definition

Impact: cleanup

It's already defined in pgtable.h
Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent 01ade20d
...@@ -191,7 +191,6 @@ static inline int pud_large(pud_t pte) ...@@ -191,7 +191,6 @@ static inline int pud_large(pud_t pte)
} }
/* PMD - Level 2 access */ /* PMD - Level 2 access */
#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)
#define pte_to_pgoff(pte) ((pte_val((pte)) & PHYSICAL_PAGE_MASK) >> PAGE_SHIFT) #define pte_to_pgoff(pte) ((pte_val((pte)) & PHYSICAL_PAGE_MASK) >> PAGE_SHIFT)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment