[PATCH] x86_64: Clear APIC feature bit when local APIC is disabled
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>
This commit is contained in:
Родитель
d3b6a349d2
Коммит
d1530d82e0
|
@ -353,8 +353,10 @@ static __init void parse_cmdline_early (char ** cmdline_p)
|
||||||
if (fullarg(from, "enable_timer_pin_1"))
|
if (fullarg(from, "enable_timer_pin_1"))
|
||||||
disable_timer_pin_1 = -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;
|
disable_apic = 1;
|
||||||
|
}
|
||||||
|
|
||||||
if (fullarg(from, "noapic"))
|
if (fullarg(from, "noapic"))
|
||||||
skip_ioapic_setup = 1;
|
skip_ioapic_setup = 1;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче