From: Maciej S. Szmigiero Date: Tue, 11 Oct 2016 20:54:30 +0000 (-0700) Subject: pps: kc: fix non-tickless system config dependency X-Git-Tag: v4.14-rc1~2289^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab47deb6bb03ddf1c1e253bfbbdbf5f867975ca5;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Rodolfo Giometti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/pps/Kconfig b/drivers/pps/Kconfig index 7512e98..564a51a 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.