Skip to content

Commit 4648bf7

Browse files
committed
fix merge "mm: rename pud_page_vaddr to pud_pgtable and make it return pmd_t *"
1 parent 900dae0 commit 4648bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/include/asm/pgtable-64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static inline void pud_clear(pud_t *pudp)
6262

6363
static inline pmd_t *pud_pgtable(pud_t pud)
6464
{
65-
return (unsigned long)pfn_to_virt((pud_val(pud) & _PAGE_CHG_MASK) >> _PAGE_PFN_SHIFT);
65+
return (pmd_t *)pfn_to_virt((pud_val(pud) & _PAGE_CHG_MASK) >> _PAGE_PFN_SHIFT);
6666
}
6767

6868
static inline struct page *pud_page(pud_t pud)

0 commit comments

Comments
 (0)