Message ID | 20240605114100.315918-2-bjorn@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | e3ecf2fdc8f39a898f9e06481e935b460a097e10 |
Headers | show |
Series | riscv: Memory Hot(Un)Plug support | expand |
diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c index e3405e4b99af..fe5072f66c8c 100644 --- a/arch/riscv/mm/init.c +++ b/arch/riscv/mm/init.c @@ -1439,7 +1439,7 @@ int __meminit vmemmap_populate(unsigned long start, unsigned long end, int node, * memory hotplug, we are not able to update all the page tables with * the new PMDs. */ - return vmemmap_populate_hugepages(start, end, node, NULL); + return vmemmap_populate_hugepages(start, end, node, altmap); } #endif