Skip to content

Commit 225e47e

Browse files
rddunlappalmer-dabbelt
authored andcommitted
riscv: fix RISCV_ISA_SVPBMT kconfig dependency warning
RISCV_ISA_SVPBMT selects RISCV_ALTERNATIVE which depends on !XIP_KERNEL. Therefore RISCV_ISA_SVPBMT should also depend on !XIP_KERNEL so quieten this kconfig warning: WARNING: unmet direct dependencies detected for RISCV_ALTERNATIVE Depends on [n]: !XIP_KERNEL [=y] Selected by [y]: - RISCV_ISA_SVPBMT [=y] && 64BIT [=y] && MMU [=y] Fixes: ff689fd ("riscv: add RISC-V Svpbmt extension support") Signed-off-by: Randy Dunlap <[email protected]> Cc: [email protected] Reviewed-by: Heiko Stuebner <[email protected]> Link: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 8f7e001 commit 225e47e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ config RISCV_ISA_C
386386
config RISCV_ISA_SVPBMT
387387
bool "SVPBMT extension support"
388388
depends on 64BIT && MMU
389+
depends on !XIP_KERNEL
389390
select RISCV_ALTERNATIVE
390391
default y
391392
help

0 commit comments

Comments
 (0)