* [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* Re: [PATCH] arch: metag: kernel: export 'cpu_core_map' in "topology.c"
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
0 siblings, 2 replies; 4+ messages in thread
From: James Hogan @ 2013-12-19 11:49 UTC (permalink / raw)
To: Chen Gang; +Cc: linux-metag, linux-kernel@vger.kernel.org
On 19/12/13 08:03, Chen Gang wrote:
> 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>
Thanks, applied.
Cheers
James
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arch: metag: kernel: export 'cpu_core_map' in "topology.c"
2013-12-19 11:49 ` James Hogan
@ 2013-12-19 12:03 ` Chen Gang
2013-12-19 12:05 ` Chen Gang
1 sibling, 0 replies; 4+ messages in thread
From: Chen Gang @ 2013-12-19 12:03 UTC (permalink / raw)
To: James Hogan; +Cc: linux-metag, linux-kernel@vger.kernel.org
On 12/19/2013 07:49 PM, James Hogan wrote:
> On 19/12/13 08:03, Chen Gang wrote:
>> 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>
>
> Thanks, applied.
>
Thank you too. :-)
--
Chen Gang
Open, share and attitude like air, water and life which God blessed
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arch: metag: kernel: export 'cpu_core_map' in "topology.c"
2013-12-19 11:49 ` James Hogan
2013-12-19 12:03 ` Chen Gang
@ 2013-12-19 12:05 ` Chen Gang
1 sibling, 0 replies; 4+ messages in thread
From: Chen Gang @ 2013-12-19 12:05 UTC (permalink / raw)
To: James Hogan; +Cc: linux-metag, linux-kernel@vger.kernel.org
On 12/19/2013 07:49 PM, James Hogan wrote:
> On 19/12/13 08:03, Chen Gang wrote:
>> 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>
>
> Thanks, applied.
>
Thank you too. :-)
--
Chen Gang
Open, share and attitude like air, water and life which God blessed
^ permalink raw reply [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).