Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1435870 > unrolled thread

[PATCH][RESEND] pps: kc: fix non-tickless system config dependency

Started by"Maciej S. Szmigiero" <mail@maciej.szmigiero.name>
First post2016-07-02 23:00 +0200
Last post2016-07-02 23:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH][RESEND] pps: kc: fix non-tickless system config dependency "Maciej S. Szmigiero" <mail@maciej.szmigiero.name> - 2016-07-02 23:00 +0200

#1435870 — [PATCH][RESEND] pps: kc: fix non-tickless system config dependency

From"Maciej S. Szmigiero" <mail@maciej.szmigiero.name>
Date2016-07-02 23:00 +0200
Subject[PATCH][RESEND] pps: kc: fix non-tickless system config dependency
Message-ID<rQAb7-8gD-1@gated-at.bofh.it>
CONFIG_NO_HZ currently only sets the default value
of dynticks config so if PPS kernel consumer needs
periodic timer ticks it should depend on
!CONFIG_NO_HZ_COMMON instead of !CONFIG_NO_HZ.

Otherwise it is possible to enable it even on
tickless system which has CONFIG_NO_HZ not set and
CONFIG_NO_HZ_IDLE (or CONFIG_NO_HZ_FULL) set.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
---
This is a resend without functional changes since previous
submission wasn't picked up.

 drivers/pps/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pps/Kconfig b/drivers/pps/Kconfig
index 7512e98e9311..564a51abeece 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_COMMON
 	help
 	  This option adds support for direct in-kernel time
 	  synchronization using an external PPS signal.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web