summaryrefslogtreecommitdiff
path: root/kernel/power/suspend_test.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2021-08-03 17:16:13 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-08-04 21:18:13 +0300
commitd2c8cce647f3022d5960a3bf2b50a2da341d9c8b (patch)
tree0f49ea2911d584fadb5d21ed475298abaffcbea2 /kernel/power/suspend_test.c
parentc500bee1c5b2f1d59b1081ac879d73268ab0ff17 (diff)
downloadlinux-d2c8cce647f3022d5960a3bf2b50a2da341d9c8b.tar.xz
PM: sleep: s2idle: Replace deprecated CPU-hotplug functions
The functions get_online_cpus() and put_online_cpus() have been deprecated during the CPU hotplug rework. They map directly to 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>
Diffstat (limited to 'kernel/power/suspend_test.c')
0 files changed, 0 insertions, 0 deletions