aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorYury Norov <[email protected]>2024-01-28 22:21:04 -0800
committerPaolo Abeni <[email protected]>2024-02-01 13:06:40 +0100
commitc1f5204efcbcced83f67f12fa8f1a7f5f244fb87 (patch)
tree4cf65b8c65041554ba6cdccd75ace4b62f247028 /lib/memory-notifier-error-inject.c
parent3723b56d6f73f7c8c3b521a80556f129830f6fb9 (diff)
cpumask: add cpumask_weight_andnot()
Similarly to cpumask_weight_and(), cpumask_weight_andnot() is a handy helper that may help to avoid creating an intermediate mask just to calculate number of bits that set in a 1st given mask, and clear in 2nd one. Signed-off-by: Yury Norov <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions