Re: [PATCH] perf/x86: check ucode before disabling PEBS on SandyBridge

Peter Zijlstra
2012-06-08T14:23:36Z

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.