Commit 0cba0556 authored by Dave Chinner's avatar Dave Chinner Committed by Zeng Heng
Browse files

cpumask: introduce for_each_cpu_or

mainline inclusion
from mainline-v6.3-rc4
commit 1470afef
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6VS35

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1470afefc3c42df5d1662f87d079b46651bdc95b



--------------------------------

Equivalent of for_each_cpu_and, except it ORs the two masks together
so it iterates all the CPUs present in either mask.

Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarZeng Heng <zengheng4@huawei.com>
parent 5f14daa6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment