[PATCH 2/2][v2] cpuidle-haltpoll: Build as module by default

From: lirongqing
Date: Wed Dec 07 2022 - 07:41:43 EST


From: Li RongQing <lirongqing@xxxxxxxxx>

Allow user to unload it in running

Signed-off-by: Li RongQing <lirongqing@xxxxxxxxx>
---
drivers/cpuidle/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
index ff71dd6..43ddb84 100644
--- a/drivers/cpuidle/Kconfig
+++ b/drivers/cpuidle/Kconfig
@@ -74,7 +74,7 @@ endmenu
config HALTPOLL_CPUIDLE
tristate "Halt poll cpuidle driver"
depends on X86 && KVM_GUEST
- default y
+ default m
help
This option enables halt poll cpuidle driver, which allows to poll
before halting in the guest (more efficient than polling in the
--
2.9.4