Re: [patch 01/23] x86/apic: Avoid open coded x2apic detection

From: Thomas Gleixner
Date: Fri Jan 23 2015 - 11:13:46 EST


On Thu, 22 Jan 2015, Thomas Gleixner wrote:
> On Fri, 16 Jan 2015, Borislav Petkov wrote:
> >
> > #define x2apic_supported() (cpu_has_x2apic)
> >
> > which does the cpufeature test.
> >
> > Can we agree on one interface only and simplify this a bit more?
>
> I think I do that later on, but will make sure.

We can't do that some places want the cpu_has_x2apic check even when
X2APIC=n. x2apic_supported() is compiled to 0 when X2APIC=n.

Thanks,

tglx

--
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/