mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
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>
This commit is contained in:
parent
1d61cf121d
commit
40979d327c
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
DEFINE_PER_CPU(struct cpuinfo_metag, cpu_data);
|
DEFINE_PER_CPU(struct cpuinfo_metag, cpu_data);
|
||||||
|
|
||||||
cpumask_t cpu_core_map[NR_CPUS];
|
cpumask_t cpu_core_map[NR_CPUS];
|
||||||
|
EXPORT_SYMBOL(cpu_core_map);
|
||||||
|
|
||||||
static cpumask_t cpu_coregroup_map(unsigned int cpu)
|
static cpumask_t cpu_coregroup_map(unsigned int cpu)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue