aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/pgtable-32.h
diff options
context:
space:
mode:
authorGravatar Heiko Stuebner <heiko@sntech.de> 2022-05-11 21:29:16 +0200
committerGravatar Palmer Dabbelt <palmer@rivosinc.com> 2022-05-11 21:36:32 -0700
commitffb0b0afbd7c2608b6608d693569f0e726efd26b (patch)
treea8180b954a67ca585af4ed15cfa69ccbe0caed1b /arch/riscv/include/asm/pgtable-32.h
parentriscv: prevent compressed instructions in alternatives (diff)
downloadlinux-ffb0b0afbd7c2608b6608d693569f0e726efd26b.tar.gz
linux-ffb0b0afbd7c2608b6608d693569f0e726efd26b.tar.bz2
linux-ffb0b0afbd7c2608b6608d693569f0e726efd26b.zip
riscv: move boot alternatives to after fill_hwcap
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@sntech.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Philipp Tomsich <philipp.tomsich@vrull.eu> Reviewed-by: Guo Ren <guoren@kernel.org> Link: https://lore.kernel.org/r/20220511192921.2223629-8-heiko@sntech.de Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/include/asm/pgtable-32.h')
0 files changed, 0 insertions, 0 deletions