Commit 566babe8 authored by Yury Norov's avatar Yury Norov
Browse files

cpumask: use cpumask_next_wrap() where appropriate



Now that cpumask_next{_and}_wrap() is wired to generic
find_next_bit_wrap(), we can use it in cpumask_any{_and}_distribute().

This automatically makes the cpumask_*_distribute() functions to use
small_cpumask_bits instead of nr_cpumask_bits, which itself is a good
optimization.

Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
parent 3268cb2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment