riscv: Add __init section marker to some functions again
authorJisheng Zhang <jszhang@kernel.org>
Sun, 16 May 2021 12:59:42 +0000 (20:59 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 29 May 2021 20:39:27 +0000 (13:39 -0700)
commit3df952ae2ac81fbc5d44b014e5462b53d1decbb5
treeb556b227a823689fab002abf5b530d70c1d9b6dd
parent8c9f4940c27dd72ee68ca5af2922e4d83ca9121b
riscv: Add __init section marker to some functions again

These functions 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/cpufeature.c
arch/riscv/mm/context.c