[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABPqkBSfkoYyYZgbFwDL_wjLUB5d_9mAocuiAcV0bsgz4P8piw@mail.gmail.com>
Date: Fri, 8 Jun 2012 16:26:37 +0200
From: Stephane Eranian <eranian@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
andi@...stfloor.org, mingo@...e.hu, ming.m.lin@...el.com,
Andreas Herrmann <andreas.herrmann3@....com>,
Borislav Petkov <borislav.petkov@....com>,
Dimitri Sivanich <sivanich@....com>,
Dmitry Adamushko <dmitry.adamushko@...il.com>
Subject: Re: [PATCH] perf/x86: check ucode before disabling PEBS on SandyBridge
On Fri, Jun 8, 2012 at 4:23 PM, Peter Zijlstra <peterz@...radead.org> wrote:
> On Fri, 2012-06-08 at 16:07 +0200, Stephane Eranian wrote:
>> > +extern struct blocking_notifier_head microcode_notifier;
>> > +
>> That is a problem because microcode can be compiled as a module.
>> When I tried compiling your patch I got undefined for this notifier because
>> I have microcode update as a module...
>
> Ah, no, setup.c needs an EXPORT_SYMBOL_GPL(microcode_notifier);. Then it
> all builds again.
>
Yes, it works with this now!
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists