diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2021-08-03 16:16:04 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-08-04 13:47:33 -0700 |
commit | a0d1d0f47e3193d6188869ae6bcf08a792f63cf6 (patch) | |
tree | 08498cd776c6d6663b3125848beb4e6dbeed41c3 /net | |
parent | c2eecaa193ff1e516a1b389637169ae86a6fa867 (diff) | |
download | linux-a0d1d0f47e3193d6188869ae6bcf08a792f63cf6.tar.gz linux-a0d1d0f47e3193d6188869ae6bcf08a792f63cf6.tar.bz2 linux-a0d1d0f47e3193d6188869ae6bcf08a792f63cf6.zip |
virtio_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.
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions