Skip to content
Commit 7a610694 authored by Yury Norov's avatar Yury Norov
Browse files

PCI: hv: Switch hv_compose_multi_msi_req_get_cpu() to using cpumask_next_wrap()



Calling cpumask_next_wrap_old() with starting CPU == nr_cpu_ids
is effectively the same as request to find first CPU, starting
from a given one and wrapping around if needed.

cpumask_next_wrap() is a proper replacement for that.

Acked-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarMichael Kelley <mhklinux@outlook.com>
Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
parent aee1bf15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment