From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964932AbcIUQ6R (ORCPT ); Wed, 21 Sep 2016 12:58:17 -0400 Received: from vps-vb.mhejs.net ([37.28.154.113]:51498 "EHLO vps-vb.mhejs.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752132AbcIUQ6Q (ORCPT ); Wed, 21 Sep 2016 12:58:16 -0400 X-Greylist: delayed 1209 seconds by postgrey-1.27 at vger.kernel.org; Wed, 21 Sep 2016 12:58:16 EDT Message-ID: <57E2B769.50202@maciej.szmigiero.name> Date: Wed, 21 Sep 2016 18:38:01 +0200 From: "Maciej S. Szmigiero" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Rodolfo Giometti CC: linux-kernel , Alexander Gordeev , Andrew Morton Subject: [PATCH][RESEND] pps: kc: fix non-tickless system config dependency Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- This is a resend without functional changes since previous submission and resubmission weren't picked up. @Rodolfo: Could you ack this, please? 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.