]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit069583bb574a5fc3ef047b5dd0ee822926ca0eec
treeb556b227a823689fab002abf5b530d70c1d9b6dd
parent34668c1b74d73e4ec2d620cda632d470dd94a83b
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