projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1613e60
)
riscv: mm: Properly forward vmemmap_populate() altmap parameter
author
Björn Töpel
<bjorn@rivosinc.com>
Wed, 5 Jun 2024 11:40:44 +0000
(13:40 +0200)
committer
Palmer Dabbelt
<palmer@rivosinc.com>
Wed, 26 Jun 2024 15:42:37 +0000
(08:42 -0700)
Make sure that the altmap parameter is properly passed on to
vmemmap_populate_hugepages().
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Link:
https://lore.kernel.org/r/20240605114100.315918-2-bjorn@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/init.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/riscv/mm/init.c
b/arch/riscv/mm/init.c
index e3218d65f21d5a432723e0637122af46d8620db4..ecd4e716c9953bfe7dc582ccc6c86ea7e0043a72 100644
(file)
--- a/
arch/riscv/mm/init.c
+++ b/
arch/riscv/mm/init.c
@@
-1438,7
+1438,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