riscv: move boot alternatives to after fill_hwcap
From: Heiko Stuebner <heiko@...> Date: Wed, 12 Jan 2022 21:15:04 +0100
Commit-Message
Move the application of boot alternatives to after the hw-capabilities are populated. This allows to check for available extensions when determining which alternatives to apply and also makes it actually work if CONFIG_SMP is disabled for whatever reason. Signed-off-by: Heiko Stuebner <heiko@...> Reviewed-by: Christoph Hellwig <hch@...>
Patch-Comment
arch/riscv/kernel/setup.c | 2 ++ arch/riscv/kernel/smpboot.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-)
Statistics
- 2 lines added
- 2 lines removed