From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752774AbbDAVV7 (ORCPT ); Wed, 1 Apr 2015 17:21:59 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:50532 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752342AbbDAVV4 (ORCPT ); Wed, 1 Apr 2015 17:21:56 -0400 From: "Rafael J. Wysocki" To: Tyler Baker , Peter Zijlstra Cc: Thomas Gleixner , rafael.j.wysocki@intel.com, John Stultz , "linux-kernel@vger.kernel.org" , linux-arm-kernel , Kevin Hilman Subject: Re: Build regression in next-20150331 Date: Wed, 01 Apr 2015 23:46:10 +0200 Message-ID: <2863807.lxHPvZ2AsE@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.19.0+; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <2720045.6sPXjyyvfF@vostro.rjw.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, March 31, 2015 08:37:32 PM Tyler Baker wrote: > Hi Rafael, > > On 31 March 2015 at 16:27, Rafael J. Wysocki wrote: > > On Wednesday, April 01, 2015 01:03:52 AM Rafael J. Wysocki wrote: > >> On Tuesday, March 31, 2015 11:39:37 AM Tyler Baker wrote: > >> > Hi Thomas, Rafael, > >> > > >> > I was notified this morning by the kernelci.org system that a new > >> > build error has been detected in next-20150331[0][1][2]. It seems that > >> > "clockevents: Remove CONFIG_GENERIC_CLOCKEVENTS_BUILD" > >> > c9439b1d6eb4ada5c2faf3970ac0d2bc4bd20e14 is the culprit. [cut] > > > > Please try the one below instead. > > > > Rafael > > > > > > --- > > kernel/time/tick-internal.h | 2 ++ > > 1 file changed, 2 insertions(+) > > > > Index: linux-pm/kernel/time/tick-internal.h > > =================================================================== > > --- linux-pm.orig/kernel/time/tick-internal.h > > +++ linux-pm/kernel/time/tick-internal.h > > @@ -110,7 +110,9 @@ static inline int tick_broadcast_update_ > > /* Set the periodic handler in non broadcast mode */ > > static inline void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) > > { > > +#ifdef CONFIG_GENERIC_CLOCKEVENTS > > dev->event_handler = tick_handle_periodic; > > +#endif > > } > > #endif /* !BROADCAST */ > > Thanks for the quick response. I've applied this patch on top of > next-20150331 and I can confirm this fixes the build error reported in > this thread. The test results can be found here[0]. OK, thanks for verifying. Peter, do you think the above is acceptable or do I need to do anything more sophisticated to fix this? [The alternative would be probably to prepare an empty definition of tick_handle_periodic() for CONFIG_GENERIC_CLOCKEVENTS and move the definition of struct clock_event_device from under that Kconfig option.] Rafael