]> git.baikalelectronics.ru Git - kernel.git/commit
pps: kc: fix non-tickless system config dependency
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Tue, 11 Oct 2016 20:54:30 +0000 (13:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2016 22:06:32 +0000 (15:06 -0700)
commit623da6c787760d53f66bb28cca89853bc2a4e07e
treee3f6c11da556f649a2a13ca67b44e38c9214fd67
parentfec1ceab2ec0c5529b6e746aa6e21b08a6ca57be
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>
drivers/pps/Kconfig