riscv: annotate check_unaligned_access_boot_cpu() with __init
authorClément Léger <cleger@rivosinc.com>
Wed, 4 Oct 2023 15:14:03 +0000 (17:14 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 1 Nov 2023 15:34:57 +0000 (08:34 -0700)
commit90b11b470b2e88ff583e04be109e6441cb69f54d
tree6fc764c58c5703018c9cecdc619293508862cc65
parentbc38f61313d316d74c16ce7287d6dba2f42502c9
riscv: annotate check_unaligned_access_boot_cpu() with __init

This function is solely called as an initcall, thus annotate it with
__init.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Evan Green <evan@rivosinc.com>
Link: https://lore.kernel.org/r/20231004151405.521596-7-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/cpufeature.c