Skip to content

Commit ab47deb

Browse files
maciejsszmigierotorvalds
authored andcommitted
pps: kc: fix non-tickless system config dependency
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. Link: http://lkml.kernel.org/r/57E2B769.50202@maciej.szmigiero.name Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Acked-by: Rodolfo Giometti <giometti@enneenne.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 54c721b commit ab47deb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/pps/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ config PPS_DEBUG
3131

3232
config NTP_PPS
3333
bool "PPS kernel consumer support"
34-
depends on !NO_HZ
34+
depends on !NO_HZ_COMMON
3535
help
3636
This option adds support for direct in-kernel time
3737
synchronization using an external PPS signal.

0 commit comments

Comments
 (0)