From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752438AbbLICAg (ORCPT ); Tue, 8 Dec 2015 21:00:36 -0500 Received: from mail-pf0-f178.google.com ([209.85.192.178]:36773 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750797AbbLICAe (ORCPT ); Tue, 8 Dec 2015 21:00:34 -0500 Date: Wed, 9 Dec 2015 07:30:31 +0530 From: Viresh Kumar To: Stephen Rothwell Cc: "Rafael J. Wysocki" , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Ashwin Chaugule Subject: Re: linux-next: build failure after merge of the pm tree Message-ID: <20151209020031.GN3692@ubuntu> References: <20151209125441.630ef17e@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151209125441.630ef17e@canb.auug.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09-12-15, 12:54, Stephen Rothwell wrote: > Hi Rafael, > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > ERROR: "gov_cancel_work" [drivers/cpufreq/cpufreq_ondemand.ko] undefined! > > Caused by commit > > 68e115b19a01 ("cpufreq: governor: replace per-cpu delayed work with timers") > > I have used the pm tree from next-20151208 for today. Yeah, it missed this stupid change. Sorry about that. diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c index 948771f169d2..4de12fd35b1f 100644 --- a/drivers/cpufreq/cpufreq_governor.c +++ b/drivers/cpufreq/cpufreq_governor.c @@ -205,6 +205,7 @@ void gov_cancel_work(struct cpu_common_dbs_info *shared) gov_cancel_timers(shared->policy); atomic_set(&shared->skip_work, 0); } +EXPORT_SYMBOL_GPL(gov_cancel_work); /* Will return if we need to evaluate cpu load again or not */ static bool need_load_eval(struct cpu_common_dbs_info *shared, Rafael, I am resending the original patch with this change. -- viresh