Re: [PATCH] Add CONFIG_X86_APIC_OFF for i386/UP

From: Hugh Dickins
Date: Fri Jan 28 2005 - 10:13:44 EST


On Fri, 28 Jan 2005, Andi Kleen wrote:
> > 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?
>
> As you said. The distribution wants a kernel that has it disabled
> by default, but allows to enable it with an option without
> recompiling the kernel.
>
> None of the defaults allow this and my patch adds that with
> an option.

Forgive me for not wading through the code, but it really needs to
be spelt out in the comments: what's wrong with the existing kernel,
with "noapic nolapic" in the distro's bootstring by default?

I'm not going to be the only one confused by this!

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/