[PATCH] x86-64: Fix typo CONFIG_CPU_HOTPLUG -> CONFIG_HOTPLUG_CPU in genapic.c
Noted by Ashok Raj Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Родитель
24dead8ac9
Коммит
016102dea8
|
@ -72,7 +72,7 @@ void __init clustered_apic_check(void)
|
||||||
/* Don't use clustered mode on AMD platforms. */
|
/* Don't use clustered mode on AMD platforms. */
|
||||||
if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) {
|
if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) {
|
||||||
genapic = &apic_physflat;
|
genapic = &apic_physflat;
|
||||||
#ifndef CONFIG_CPU_HOTPLUG
|
#ifndef CONFIG_HOTPLUG_CPU
|
||||||
/* In the CPU hotplug case we cannot use broadcast mode
|
/* In the CPU hotplug case we cannot use broadcast mode
|
||||||
because that opens a race when a CPU is removed.
|
because that opens a race when a CPU is removed.
|
||||||
Stay at physflat mode in this case.
|
Stay at physflat mode in this case.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче