* [BUG] compile error with edac_mce_amd.c as module
@ 2009-09-15 19:54 Steven Rostedt
2009-09-16 4:40 ` Borislav Petkov
0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2009-09-15 19:54 UTC (permalink / raw)
To: Borislav Petkov; +Cc: LKML, Ingo Molnar, Andrew Morton, Thomas Gleixner
The file drivers/edac/edac_mce_amd.c references a kernel variable that
is not exported for modules.
ERROR: "per_cpu__cpu_llc_id" [drivers/edac/edac_core.ko] undefined!
The variable in question is located in arch/x86/kernel/smpboot.c
/* Last level cache ID of each logical CPU */
DEFINE_PER_CPU(u16, cpu_llc_id) = BAD_APICID;
and is not exported to modules.
This is from the latest Linus repo. I can supply a config if requested.
-- Steve
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] compile error with edac_mce_amd.c as module
2009-09-15 19:54 [BUG] compile error with edac_mce_amd.c as module Steven Rostedt
@ 2009-09-16 4:40 ` Borislav Petkov
0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2009-09-16 4:40 UTC (permalink / raw)
To: Steven Rostedt; +Cc: LKML, Ingo Molnar, Andrew Morton, Thomas Gleixner
On Tue, Sep 15, 2009 at 03:54:39PM -0400, Steven Rostedt wrote:
> The file drivers/edac/edac_mce_amd.c references a kernel variable that
> is not exported for modules.
>
> ERROR: "per_cpu__cpu_llc_id" [drivers/edac/edac_core.ko] undefined!
>
>
> The variable in question is located in arch/x86/kernel/smpboot.c
>
> /* Last level cache ID of each logical CPU */
> DEFINE_PER_CPU(u16, cpu_llc_id) = BAD_APICID;
>
> and is not exported to modules.
>
> This is from the latest Linus repo. I can supply a config if requested.
Sorry for that, proper fix is already there:
http://marc.info/?l=linux-kernel&m=125302459621925
--
Regards/Gruss,
Boris.
Operating | Advanced Micro Devices GmbH
System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
Research | Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
(OSRC) | Registergericht München, HRB Nr. 43632
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-16 4:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 19:54 [BUG] compile error with edac_mce_amd.c as module Steven Rostedt
2009-09-16 4:40 ` Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox