]> 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)
commit3ecdd8ddb1417178417130e5b4e34b9fa3781f13
treeefe43d363a29ee424149685967151df6c3711a45
parentd9f1bf3a702f5e3d75985c99873f08819fb2ea33
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