Files
linux/arch/riscv/include/asm
Björn Töpel fe122b89da riscv: mm: Change attribute from __init to __meminit for page functions
Prepare for memory hotplugging support by changing from __init to
__meminit for the page table functions that are used by the upcoming
architecture specific callbacks.

Changing the __init attribute to __meminit, avoids that the functions
are removed after init. The __meminit attribute makes sure the
functions are kept in the kernel text post init, but only if memory
hotplugging is enabled for the build.

Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Link: https://lore.kernel.org/r/20240605114100.315918-4-bjorn@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2024-06-26 08:42:39 -07:00
..
2022-03-10 09:29:21 -08:00
2024-05-19 14:36:19 -07:00
2024-05-22 16:12:48 -07:00
2023-11-05 09:11:23 -08:00
2022-05-11 11:50:10 -07:00
2020-05-18 11:38:10 -07:00
2022-03-29 14:31:07 -07:00
2021-01-14 15:09:06 -08:00
2024-03-15 10:17:38 -07:00
2021-01-07 19:00:50 -08:00
2023-08-23 14:16:36 -07:00