Skip to content

Commit

Permalink
sh: Fix sh build failure when CONFIG_SFC=m
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
aurel32 authored and pmundt committed Jan 19, 2011
1 parent 92359a7 commit 24ee7d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/sh/kernel/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 24ee7d7

Please sign in to comment.