Selaa lähdekoodia

sh: Fix sh build failure when CONFIG_SFC=m

CONFIG_SFC=m uses topology_core_cpumask() which, for sh, expects
cpu_core_map to be exported. It is not. This patch exports the needed
symbol.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Aurelien Jarno 14 vuotta sitten
vanhempi
commit
24ee7d79c5
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      arch/sh/kernel/topology.c

+ 1 - 0
arch/sh/kernel/topology.c

@@ -17,6 +17,7 @@
 static DEFINE_PER_CPU(struct cpu, cpu_devices);
 
 cpumask_t cpu_core_map[NR_CPUS];
+EXPORT_SYMBOL(cpu_core_map);
 
 static cpumask_t cpu_coregroup_map(unsigned int cpu)
 {