]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite978f5d7547f3b477809123d0685434e54ce4a90
treeac8706cf99e89299276273498ce05a6b58b90644
parentbf10b629f364a792ecb25135150de15a4641546a
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