summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-06-01 11:15:43 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-06-10 04:11:25 +0200
commite71ee06e3ca337758ac95288a917622ff9808fa0 (patch)
tree2ed35f509a769a01adf3e9602b2f342907e90cda /arch
parentRISC-V: Remove do_IRQ() function (diff)
downloadlinux-e71ee06e3ca337758ac95288a917622ff9808fa0.tar.xz
linux-e71ee06e3ca337758ac95288a917622ff9808fa0.zip
RISC-V: Force select RISCV_INTC for CONFIG_RISCV
The RISC-V per-HART local interrupt controller driver is mandatory for all RISC-V system (with/without MMU) hence we force select it for CONFIG_RISCV (just like RISCV_TIMER). Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 4f5bff0e7ab2..7c9614909d2c 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -66,6 +66,7 @@ config RISCV
select OF_IRQ
select PCI_DOMAINS_GENERIC if PCI
select PCI_MSI if PCI
+ select RISCV_INTC
select RISCV_TIMER
select SPARSEMEM_STATIC if 32BIT
select SPARSE_IRQ