Message ID | 20170524081548.851588594@linutronix.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Index: b/drivers/acpi/processor_driver.c =================================================================== --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c @@ -268,9 +268,9 @@ static int acpi_processor_start(struct d return -ENODEV; /* Protect against concurrent CPU hotplug operations */ - get_online_cpus(); + cpu_hotplug_disable(); ret = __acpi_processor_start(device); - put_online_cpus(); + cpu_hotplug_enable(); return ret; }