summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorAurelien Jarno2011-01-18 21:55:34 +0100
committerPaul Mundt2011-01-19 04:16:55 +0100
commit24ee7d79c5885275a531431c3b687b3a7919eee4 (patch)
tree07823535b91a4302fd4c6ee5d46f6ac14273ff38 /arch/sh/kernel
parentsh: fix MSIOF0 SPI on ecovec: it conflicts with VOU (diff)
downloadkernel-qcow2-linux-24ee7d79c5885275a531431c3b687b3a7919eee4.tar.gz
kernel-qcow2-linux-24ee7d79c5885275a531431c3b687b3a7919eee4.tar.xz
kernel-qcow2-linux-24ee7d79c5885275a531431c3b687b3a7919eee4.zip
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>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/topology.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/topology.c b/arch/sh/kernel/topology.c
index 948fdb656933..38e862852dd0 100644
--- a/arch/sh/kernel/topology.c
+++ b/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)
{