diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2013-12-19 16:03:40 +0800 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-12-19 11:36:13 +0000 |
commit | 40979d327c99b20a938b2672d7e506f8fc41ddcc (patch) | |
tree | 6115eb4c5f89ec43b17f184eb47d6d65ea8863b8 /arch/metag | |
parent | 1d61cf121d7d9085145553294307e81c25586288 (diff) | |
download | linux-stable-40979d327c99b20a938b2672d7e506f8fc41ddcc.tar.gz linux-stable-40979d327c99b20a938b2672d7e506f8fc41ddcc.tar.bz2 linux-stable-40979d327c99b20a938b2672d7e506f8fc41ddcc.zip |
metag: topology: export 'cpu_core_map'
We need to export 'cpu_core_map' since the topology_core_cpumask macro
refers to it and is used by certain kernel modules.
Found in allmodconfig build:
ERROR: "cpu_core_map" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined!
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag')
-rw-r--r-- | arch/metag/kernel/topology.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/metag/kernel/topology.c b/arch/metag/kernel/topology.c index bec3dec4922e..4ba595701f7d 100644 --- a/arch/metag/kernel/topology.c +++ b/arch/metag/kernel/topology.c @@ -19,6 +19,7 @@ DEFINE_PER_CPU(struct cpuinfo_metag, cpu_data); cpumask_t cpu_core_map[NR_CPUS]; +EXPORT_SYMBOL(cpu_core_map); static cpumask_t cpu_coregroup_map(unsigned int cpu) { |