]> git.baikalelectronics.ru Git - kernel.git/commit
net: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:16:06 +0000 (16:16 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 4 Aug 2021 20:47:50 +0000 (13:47 -0700)
commitafc3c3dea3d041cb08fc5fb41146ccbf780c3747
tree9e98452ae0143e79feea1218a91663423e31d163
parentc0cc7b7e345d062ed987b6a16f3768176a5444f3
net: 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: Jakub Kicinski <kuba@kernel.org>
net/core/dev.c