linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arch: metag: kernel: export 'cpu_core_map' in "topology.c"
@ 2013-12-19  8:03 Chen Gang
  2013-12-19 11:49 ` James Hogan
  0 siblings, 1 reply; 4+ messages in thread
From: Chen Gang @ 2013-12-19  8:03 UTC (permalink / raw)
  To: James Hogan; +Cc: linux-metag, linux-kernel@vger.kernel.org

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!


Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 arch/metag/kernel/topology.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/metag/kernel/topology.c b/arch/metag/kernel/topology.c
index bec3dec..4ba5957 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)
 {
-- 
1.7.11.7

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-19 12:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19  8:03 [PATCH] arch: metag: kernel: export 'cpu_core_map' in "topology.c" Chen Gang
2013-12-19 11:49 ` James Hogan
2013-12-19 12:03   ` Chen Gang
2013-12-19 12:05   ` Chen Gang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).