riscv: add __init section marker to some functions
authorJisheng Zhang <jszhang@kernel.org>
Mon, 29 Mar 2021 18:22:21 +0000 (02:22 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Mon, 26 Apr 2021 15:25:07 +0000 (08:25 -0700)
commit1987501b1130c6b4b7e1cef4b9c1dc9a8adae025
treeac8706cf99e89299276273498ce05a6b58b90644
parent0df68ce4c26a48115a9e8d45e24f18d964a10050
riscv: add __init section marker to some functions

They are not needed after booting, so mark them as __init to move them
to the __init section.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/traps.c
arch/riscv/mm/init.c
arch/riscv/mm/kasan_init.c
arch/riscv/mm/ptdump.c