Skip to content

Commit 92bdd3f

Browse files
arndbRussell King
authored andcommitted
ARM: 7742/1: topology: export cpu_topology
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 <[email protected]> Acked-by: Will Deacon <[email protected]> Cc: [email protected] Cc: Nicolas Pitre <[email protected]> Cc: Vincent Guittot <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent 2752367 commit 92bdd3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/kernel/topology.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
#include <linux/cpu.h>
1515
#include <linux/cpumask.h>
16+
#include <linux/export.h>
1617
#include <linux/init.h>
1718
#include <linux/percpu.h>
1819
#include <linux/node.h>
@@ -200,6 +201,7 @@ static inline void update_cpu_power(unsigned int cpuid, unsigned int mpidr) {}
200201
* cpu topology table
201202
*/
202203
struct cputopo_arm cpu_topology[NR_CPUS];
204+
EXPORT_SYMBOL_GPL(cpu_topology);
203205

204206
const struct cpumask *cpu_coregroup_mask(int cpu)
205207
{

0 commit comments

Comments
 (0)