]> git.baikalelectronics.ru Git - kernel.git/commit
genirq/affinity: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:16:08 +0000 (16:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Aug 2021 12:51:26 +0000 (14:51 +0200)
commit5e3d7fccad0e0ca9ff0357c1adb5fad4f2624d9d
treeefe43d363a29ee424149685967151df6c3711a45
parent6d4424b40ea183c6f7c6142c1b46250e85c03f2e
genirq/affinity: 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: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210803141621.780504-26-bigeasy@linutronix.de
kernel/irq/affinity.c