Skip to content
Commit 33e67710 authored by Yury Norov's avatar Yury Norov
Browse files

cpumask: switch for_each_cpu{,_not} to use for_each_bit()



The difference between for_each_cpu() and for_each_set_bit()
is that the latter uses cpumask_next() instead of find_next_bit(),
and so calls cpumask_check().

This check is useless because the iterator value is not provided by
user. It generates false-positives for the very last iteration
of for_each_cpu().

Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
parent 854701ba
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