cpumask: introduce for_each_cpu_or
authorDave Chinner <dchinner@redhat.com>
Thu, 16 Mar 2023 00:31:02 +0000 (17:31 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 19 Mar 2023 17:02:04 +0000 (10:02 -0700)
commit1470afefc3c42df5d1662f87d079b46651bdc95b
treef295df464adc0ed2f43645a13ed73633371269f5
parent3cfb9290da3d87a5877b03bda96c3d5d3ed9fcb0
cpumask: introduce for_each_cpu_or

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: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
include/linux/cpumask.h
include/linux/find.h
lib/find_bit.c