Re: [PATCH] x86,perf: Unmask LVTPC only if we have APIC supported

From: Cyrill Gorcunov
Date: Sat Mar 13 2010 - 10:03:16 EST


On Sat, Mar 13, 2010 at 02:50:22PM +0100, Ingo Molnar wrote:
...
> > All-in-once: unresolved external symbol here, which could be fixed either by
> > introducing dummy symbol, or conditional compilation. I think the second is
> > preferred if the issue is just one line code.
> >
> > Or you mean something different and I took a wrong mind-path?
>
> Well it's not just one line of code as (like you mentioned) perf_event.c is
> affected as well.
>
> Introducing a dummy (NOP) placeholder method is what we are doing in all the
> other cases (such as spin_lock()), we dont pollute the kernel with #ifdefs.
>
> Ingo
>

ok, Ingo, this will consume some time. Could you pick up the original patch
just for now (so that testing builds will not fail), I'll back to this task
tomorrow or at Monday. OK?

-- Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/