Skip to content

Commit

Permalink
[PATCH] x86_64: Clear APIC feature bit when local APIC is disabled
Browse files Browse the repository at this point in the history
Needed for other checks later in ACPI.

Pointed out by Len Brown

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Apr 9, 2006
1 parent d3b6a34 commit d1530d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/x86_64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,10 @@ static __init void parse_cmdline_early (char ** cmdline_p)
if (fullarg(from, "enable_timer_pin_1"))
disable_timer_pin_1 = -1;

if (fullarg(from, "nolapic") || fullarg(from, "disableapic"))
if (fullarg(from, "nolapic") || fullarg(from, "disableapic")) {
clear_bit(X86_FEATURE_APIC, boot_cpu_data.x86_capability);
disable_apic = 1;
}

if (fullarg(from, "noapic"))
skip_ioapic_setup = 1;
Expand Down

0 comments on commit d1530d8

Please sign in to comment.