The Kconfig already check if !NO_HZ, but miss if someone enables
NO_HZ_IDLE (which is equivalent).

Signed-off-by: Paul Chavent <paul.chav...@onera.fr>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to