From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755361AbbE2Ldm (ORCPT ); Fri, 29 May 2015 07:33:42 -0400 Received: from foss.arm.com ([217.140.101.70]:57358 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751995AbbE2Ldf (ORCPT ); Fri, 29 May 2015 07:33:35 -0400 Message-ID: <55684E8B.1080404@arm.com> Date: Fri, 29 May 2015 12:33:31 +0100 From: Sudeep Holla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "linux-kernel@vger.kernel.org" , Russell King , "linux-arm-kernel@lists.infradead.org" CC: Sudeep Holla , "linux-next@vger.kernel.org" , Stephen Rothwell , Daniel Lezcano , Thomas Gleixner Subject: Re: [PATCH] clocksource: make ARM_TIMER_SP804 depend on GENERIC_SCHED_CLOCK References: <20150529110919.2276365a@canb.auug.org.au> <1432887476-19301-1-git-send-email-sudeep.holla@arm.com> In-Reply-To: <1432887476-19301-1-git-send-email-sudeep.holla@arm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/05/15 09:17, Sudeep Holla wrote: > Commit 5261ef2ea836 ("ARM: 8366/1: move Dual-Timer SP804 driver to > drivers/clocksource") moved SP804 to drivers/clocksource resulting in > it being selectable on platforms/architectures without the config > GENERIC_SCHED_CLOCK enabled. Due to that, it results in the following > build failure(e.g. x86_64 allmodconfig) > > drivers/built-in.o: In function `__sp804_clocksource_and_sched_clock_init': > (.init.text+0x1a0e7): undefined reference to `sched_clock_register' > > This patch fixes the build by making ARM_TIMER_SP804 depend on > GENERIC_SCHED_CLOCK > > Cc: Stephen Rothwell > Cc: Russell King > Cc: Daniel Lezcano > Cc: Thomas Gleixner > Signed-off-by: Sudeep Holla > --- > drivers/clocksource/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > Hi Russell, > > If you are fine with this fix, I will put this into the patch tracker. > I have put this in patch tracker (8382/1)[1] Regards, Sudeep [1] http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8382/1