summaryrefslogtreecommitdiffstats
path: root/include/asm-um/pgtable-2level.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/pgtable-2level.h')
-rw-r--r--include/asm-um/pgtable-2level.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-um/pgtable-2level.h b/include/asm-um/pgtable-2level.h
index ffe017f..6050e0e 100644
--- a/include/asm-um/pgtable-2level.h
+++ b/include/asm-um/pgtable-2level.h
@@ -41,7 +41,7 @@ static inline void pgd_mkuptodate(pgd_t pgd) { }
#define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot))
#define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot))
-#define pmd_page_kernel(pmd) \
+#define pmd_page_vaddr(pmd) \
((unsigned long) __va(pmd_val(pmd) & PAGE_MASK))
/*
OpenPOWER on IntegriCloud