VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> 2021-07-07 18:09:53 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-07-08 11:48:22 -0700 commit: 9cf6fa2458443118b84090aa1bf7a3630b5940e8 parent: 44e8a5e9120bf4fc1ab046b648b0598e6652c36e
Commit Summary:
mm: rename pud_page_vaddr to pud_pgtable and make it return pmd_t *
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/ia64/include/asm/pgtable.h b/arch/ia64/include/asm/pgtable.h
index 3f5dbbd8b9d8..7599d04ae192 100644
--- a/arch/ia64/include/asm/pgtable.h
+++ b/arch/ia64/include/asm/pgtable.h
@@ -273,7 +273,7 @@ ia64_phys_addr_valid (unsigned long addr)
 #define pud_bad(pud)			(!ia64_phys_addr_valid(pud_val(pud)))
 #define pud_present(pud)		(pud_val(pud) != 0UL)
 #define pud_clear(pudp)			(pud_val(*(pudp)) = 0UL)
-#define pud_page_vaddr(pud)		((unsigned long) __va(pud_val(pud) & _PFN_MASK))
+#define pud_pgtable(pud)		((pmd_t *) __va(pud_val(pud) & _PFN_MASK))
 #define pud_page(pud)			virt_to_page((pud_val(pud) + PAGE_OFFSET))
 
 #if CONFIG_PGTABLE_LEVELS == 4