diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-07-15 16:46:12 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-08-30 11:18:25 +0300 |
commit | 7bf82eb3873fbbee8273f60ddef584194b99f6c1 (patch) | |
tree | 2616ce713f5eb3bb35df07e5bcae8a886e0c4eb6 /arch/parisc/mm | |
parent | 7f2dcc7371c1ab6e5d3678a7eff1cb0eb9725de9 (diff) | |
download | linux-7bf82eb3873fbbee8273f60ddef584194b99f6c1.tar.xz |
parisc: Rename PMD_ORDER to PMD_TABLE_ORDER
This is the order of the page table allocation, not the order of a PMD.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/mm')
-rw-r--r-- | arch/parisc/mm/init.c | 4 |
1 files 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); |