Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759422Ab3DZIyA (ORCPT ); Fri, 26 Apr 2013 04:54:00 -0400 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:53445 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758706Ab3DZIx4 (ORCPT ); Fri, 26 Apr 2013 04:53:56 -0400 Date: Fri, 26 Apr 2013 09:53:34 +0100 From: Will Deacon To: Arnd Bergmann Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Russell King , Nicolas Pitre , Vincent Guittot Subject: Re: [PATCH 01/21] ARM: topology: export cpu_topology Message-ID: <20130426085333.GA30284@mudshark.cambridge.arm.com> References: <1366910944-3033663-1-git-send-email-arnd@arndb.de> <1366910944-3033663-2-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366910944-3033663-2-git-send-email-arnd@arndb.de> 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 Content-Length: 1543 Lines: 45 On Thu, Apr 25, 2013 at 06:28:44PM +0100, Arnd Bergmann wrote: > The cpu_topology symbol is required by any driver using the topology > interfaces, which leads to a couple of build errors: > > ERROR: "cpu_topology" [drivers/net/ethernet/sfc/sfc.ko] undefined! > ERROR: "cpu_topology" [drivers/cpufreq/arm_big_little.ko] undefined! Are these first two in mainline? > ERROR: "cpu_topology" [drivers/block/mtip32xx/mtip32xx.ko] undefined! > > The obvious solution is to export this symbol. > > Signed-off-by: Arnd Bergmann > Cc: Russell King > Cc: Will Deacon > Cc: Nicolas Pitre > Cc: Vincent Guittot > --- > arch/arm/kernel/topology.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c > index f10316b..7ac5714 100644 > --- a/arch/arm/kernel/topology.c > +++ b/arch/arm/kernel/topology.c > @@ -200,6 +200,7 @@ static inline void update_cpu_power(unsigned int cpuid, unsigned int mpidr) {} > * cpu topology table > */ > struct cputopo_arm cpu_topology[NR_CPUS]; > +EXPORT_SYMBOL_GPL(cpu_topology); Make sense: Acked-by: Will Deacon Probably best to put it in the patch system. Will -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/