ACPI: processor: Replace deprecated CPU-hotplug functions
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:16:12 +0000 (16:16 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 Aug 2021 18:25:54 +0000 (20:25 +0200)
commit95ac706744de78a93a7ec98d603c35fb21de8400
tree34a790da9aedbcd9341fc2e93ea9b7d00bfc654f
parentc500bee1c5b2f1d59b1081ac879d73268ab0ff17
ACPI: processor: Replace deprecated CPU-hotplug functions

The functions cpu_hotplug_begin, cpu_hotplug_done, get_online_cpus() and
put_online_cpus() have been deprecated during the CPU hotplug rework. They map
directly to cpus_write_lock(), cpus_write_unlock, cpus_read_lock() and
cpus_read_unlock().

Replace deprecated CPU-hotplug functions with the official version.
The behavior remains unchanged.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_pad.c
drivers/acpi/acpi_processor.c
drivers/acpi/processor_idle.c