kernel/arch/sh/include/asm/pgtable-3level.h
.. .. @@ -32,9 +32,9 @@ 32 32 #define pmd_val(x) ((x).pmd) 33 33 #define __pmd(x) ((pmd_t) { (x) } ) 34 34 35 -static inline unsigned long pud_page_vaddr(pud_t pud)35 +static inline pmd_t *pud_pgtable(pud_t pud)36 36 { 37 - return pud_val(pud);37 + return (pmd_t *)(unsigned long)pud_val(pud);38 38 } 39 39 40 40 /* only used by the stubbed out hugetlb gup code, should never be called */