projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92359a7
)
sh: Fix sh build failure when CONFIG_SFC=m
author
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 18 Jan 2011 20:55:34 +0000
(20:55 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 19 Jan 2011 03:16:55 +0000
(12:16 +0900)
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>
arch/sh/kernel/topology.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/topology.c
b/arch/sh/kernel/topology.c
index 948fdb65693384826b77dbc6024a93bcb88246bd..38e862852dd0ce3fbcd10e9291c09fd35e6699d4 100644
(file)
--- 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)
{