From: Chen Gang Date: Thu, 19 Dec 2013 08:03:40 +0000 (+0800) Subject: metag: topology: export 'cpu_core_map' X-Git-Tag: firefly_0821_release~176^2~4658^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=40979d327c99b20a938b2672d7e506f8fc41ddcc;p=firefly-linux-kernel-4.4.55.git metag: topology: export 'cpu_core_map' We need to export 'cpu_core_map' since the topology_core_cpumask macro refers to it and is used by certain kernel modules. Found in allmodconfig build: ERROR: "cpu_core_map" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Chen Gang Signed-off-by: James Hogan --- diff --git a/arch/metag/kernel/topology.c b/arch/metag/kernel/topology.c index bec3dec4922e..4ba595701f7d 100644 --- a/arch/metag/kernel/topology.c +++ b/arch/metag/kernel/topology.c @@ -19,6 +19,7 @@ DEFINE_PER_CPU(struct cpuinfo_metag, cpu_data); cpumask_t cpu_core_map[NR_CPUS]; +EXPORT_SYMBOL(cpu_core_map); static cpumask_t cpu_coregroup_map(unsigned int cpu) {