cgroup: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:16:07 +0000 (16:16 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 9 Aug 2021 22:53:35 +0000 (12:53 -1000)
commitc5c63b9a6a2e53757b598485b8adbafa56d6d9ee
tree9353c6540f85a3c6e4afaaa64d99410ad0f8347c
parent6ba34d3c73674e46d9e126e4f0cee79e5ef2481c
cgroup: 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.

Cc: Zefan Li <lizefan.x@bytedance.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: cgroups@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c