The Kconfig already check if !NO_HZ, but miss if someone enables
NO_HZ_IDLE (which is equivalent).
Signed-off-by: Paul Chavent <[email protected]>
---
drivers/pps/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pps/Kconfig b/drivers/pps/Kconfig
index 7512e98..c0d77ed 100644
--- a/drivers/pps/Kconfig
+++ b/drivers/pps/Kconfig
@@ -31,7 +31,7 @@ config PPS_DEBUG
config NTP_PPS
bool "PPS kernel consumer support"
- depends on !NO_HZ
+ depends on !NO_HZ && !NO_HZ_IDLE
help
This option adds support for direct in-kernel time
synchronization using an external PPS signal.
--
1.7.12.1