riscv: mm: mark CBO relate initialization funcs as __init
authorJisheng Zhang <jszhang@kernel.org>
Wed, 14 Jun 2023 16:55:03 +0000 (00:55 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 6 Jul 2023 17:32:04 +0000 (10:32 -0700)
commit3b472f860c5c73244a9b951c10c289cc9ee080f3
treee1b056125dbd4db7aed06f0344a79f47426cc63b
parent31ca5d49264ba6197aa48a926f6a035ed08b3715
riscv: mm: mark CBO relate initialization funcs as __init

The two functions cbo_get_block_size() and riscv_init_cbo_blocksizes()
are only called during booting, mark them as __init.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230614165504.532-3-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/cacheflush.c