From: Kefeng Wang Date: Thu, 8 Jul 2021 01:59:48 +0000 (+0800) Subject: riscv: Enable idle generic idle loop X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bcf11b5e99b27472ea61231a64e29ad7dd31f0da;p=linux.git 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 Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 1fc5a95df3f4b..95cb9efa92132 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