Skip to contentSkip to conversation

sh: Fix sh build failure when CONFIG_SFC=m

PATCH Applied Aurelien Jarno 2 participants 2 messages Jan 18, 2011 – Jan 19, 2011 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/sh/kernel/topology.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/sh/kernel/topology.c +1 -0
index 948fdb6..38e8628 100644
@@ -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)
 {
Signature · 1 line
1.7.2.3
Applied
#1 lore raw
Quoted 5 lines · Aurelien Jarno

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.

Applied, thanks.