mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 13:15:57 +00:00
[PATCH] x86_64: Don't confuse apic=... command line option with apic
Previously apic was foced with apic=logopt was specified. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
7c0ac555b0
commit
ed8388a5d9
@ -351,7 +351,9 @@ static __init void parse_cmdline_early (char ** cmdline_p)
|
||||
if (!memcmp(from, "noapic", 6))
|
||||
skip_ioapic_setup = 1;
|
||||
|
||||
if (!memcmp(from, "apic", 4)) {
|
||||
/* Make sure to not confuse with apic= */
|
||||
if (!memcmp(from, "apic", 4) &&
|
||||
(from[4] == ' ' || from[4] == 0)) {
|
||||
skip_ioapic_setup = 0;
|
||||
ioapic_force = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user