Re: [PATCH] Add CONFIG_X86_APIC_OFF for i386/UP

From: Hugh Dickins
Date: Fri Jan 28 2005 - 09:33:36 EST


On Fri, 28 Jan 2005, Andi Kleen wrote:
>
> This patch adds a new CONFIG_X86_APIC_OFF option. This is useful
> for distribution UP kernels who should run with local APIC off by
> default (because older machines often have broken mptables etc.).
>
> But there are a few machines who don't boot with apic off so there
> needs to be an command line option to enable it.
>
> When X86_APIC_OFF is set the APIC code is compiled in, but is
> only enabled when "apic" or "lapic" is specified on the command line
> (or a DMI scanner force enables it).

I'm confused! Why do we need X86_APIC_OFF config option (but code
compiled in), with boot options "apic" or "lapic" to enable it,
when we already have the code compiled in, with boot options
"noapic" or "nolapic" to disable it?

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