diff options
author | 2021-07-08 09:59:48 +0800 | |
---|---|---|
committer | 2021-08-04 08:49:54 -0700 | |
commit | bcf11b5e99b27472ea61231a64e29ad7dd31f0da (patch) | |
tree | 09389b74cd896bea363a3b5f03fff90a8129bd0d | |
parent | riscv: Allow forced irq threading (diff) | |
download | wireguard-linux-bcf11b5e99b27472ea61231a64e29ad7dd31f0da.tar.xz wireguard-linux-bcf11b5e99b27472ea61231a64e29ad7dd31f0da.zip |
riscv: Enable idle generic idle loop
Enable generic idle loop to support for hlt/nohlt command line options
to override default idle loop behavior.
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 1fc5a95df3f4..95cb9efa9213 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -48,6 +48,7 @@ config RISCV select GENERIC_CLOCKEVENTS_BROADCAST if SMP select GENERIC_EARLY_IOREMAP select GENERIC_GETTIMEOFDAY if HAVE_GENERIC_VDSO + select GENERIC_IDLE_POLL_SETUP select GENERIC_IOREMAP select GENERIC_IRQ_MULTI_HANDLER select GENERIC_IRQ_SHOW |