VisionFive2 Linux kernel

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

More than 9999 Commits   34 Branches   58 Tags
author: Matthew Wilcox (Oracle) <willy@infradead.org> 2021-07-15 14:46:12 +0100 committer: Helge Deller <deller@gmx.de> 2021-08-30 10:18:25 +0200 commit: 7bf82eb3873fbbee8273f60ddef584194b99f6c1 parent: 7f2dcc7371c1ab6e5d3678a7eff1cb0eb9725de9
Commit Summary:
parisc: Rename PMD_ORDER to PMD_TABLE_ORDER
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c
index 591a4e939415..3f7d6d5b56ac 100644
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc/mm/init.c
@@ -378,8 +378,8 @@ static void __init map_pages(unsigned long start_vaddr,
 
 #if CONFIG_PGTABLE_LEVELS == 3
 		if (pud_none(*pud)) {
-			pmd = memblock_alloc(PAGE_SIZE << PMD_ORDER,
-					     PAGE_SIZE << PMD_ORDER);
+			pmd = memblock_alloc(PAGE_SIZE << PMD_TABLE_ORDER,
+					     PAGE_SIZE << PMD_TABLE_ORDER);
 			if (!pmd)
 				panic("pmd allocation failed.\n");
 			pud_populate(NULL, pud, pmd);