Skip to contentSkip to conversation

arch: metag: kernel: export 'cpu_core_map' in "topology.c"

PATCH Applied Chen Gang 2 participants 4 messages Dec 19, 2013

lore
Share & tools
lore

Chen Gang

author
#0 lore raw

PATCH 1/1 arch: metag: kernel: export 'cpu_core_map' in "topology.c"

Need export 'cpu_core_map', or cann't pass compiling with allmodconfig, the related error:

MODPOST 2909 modules
ERROR: "cpu_core_map" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined!

---
 arch/metag/kernel/topology.c | 1 +
 1 file changed, 1 insertion(+)
arch/metag/kernel/topology.c +1 -0
index bec3dec..4ba5957 100644
@@ -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)
 {
Signature · 5 lines
1.7.11.7
--
To unsubscribe from this list: send the line "unsubscribe linux-metag" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Applied
#1 lore raw
Quoted 8 lines · Chen Gang

Need export 'cpu_core_map', or cann't pass compiling with allmodconfig, the related error:

MODPOST 2909 modules
ERROR: "cpu_core_map" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined!

Thanks, applied.

Cheers
James

--
To unsubscribe from this list: send the line "unsubscribe linux-metag" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 4 lines · James Hogan
Quoted 3 lines · Chen Gang

Need export 'cpu_core_map', or cann't pass compiling with allmodconfig, the related error:

Quoted 8 lines
Quoted 5 lines

MODPOST 2909 modules
ERROR: "cpu_core_map" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined!

Thanks, applied.

Thank you too. :-)

Signature · 3 lines
Chen Gang

Open, share and attitude like air, water and life which God blessed
author
#3 lore raw
In reply to James Hogan
Quoted 4 lines · James Hogan
Quoted 3 lines · Chen Gang

Need export 'cpu_core_map', or cann't pass compiling with allmodconfig, the related error:

Quoted 8 lines
Quoted 5 lines

MODPOST 2909 modules
ERROR: "cpu_core_map" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined!

Thanks, applied.

Thank you too. :-)

Signature · 3 lines
Chen Gang

Open, share and attitude like air, water and life which God blessed