From: Borislav Petkov <borislav.petkov@amd.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>,
Andrew Morton <akpm@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [BUG] compile error with edac_mce_amd.c as module
Date: Wed, 16 Sep 2009 06:40:29 +0200 [thread overview]
Message-ID: <20090916044029.GA5767@aftab> (raw)
In-Reply-To: <1253044479.20020.125.camel@gandalf.stny.rr.com>
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
prev parent reply other threads:[~2009-09-16 4:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090916044029.GA5767@aftab \
--to=borislav.petkov@amd.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox