diff options
-rw-r--r-- | arch/x86_64/kernel/setup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c index cc25fa6bc975..28895c03cb11 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86_64/kernel/setup.c | |||
@@ -343,7 +343,9 @@ static __init void parse_cmdline_early (char ** cmdline_p) | |||
343 | !memcmp(from, "disableapic", 11)) | 343 | !memcmp(from, "disableapic", 11)) |
344 | disable_apic = 1; | 344 | disable_apic = 1; |
345 | 345 | ||
346 | if (!memcmp(from, "noapic", 6)) | 346 | /* Don't confuse with noapictimer */ |
347 | if (!memcmp(from, "noapic", 6) && | ||
348 | (from[6] == ' ' || from[6] == 0)) | ||
347 | skip_ioapic_setup = 1; | 349 | skip_ioapic_setup = 1; |
348 | 350 | ||
349 | /* Make sure to not confuse with apic= */ | 351 | /* Make sure to not confuse with apic= */ |