From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 25 Apr 2013 19:28:44 +0200 Subject: [PATCH 01/21] ARM: topology: export cpu_topology In-Reply-To: <1366910944-3033663-1-git-send-email-arnd@arndb.de> References: <1366910944-3033663-1-git-send-email-arnd@arndb.de> Message-ID: <1366910944-3033663-2-git-send-email-arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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! 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); const struct cpumask *cpu_coregroup_mask(int cpu) { -- 1.8.1.2