diff options
author | Yury Norov <yury.norov@gmail.com> | 2024-01-28 22:21:04 -0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-01 13:06:40 +0100 |
commit | c1f5204efcbcced83f67f12fa8f1a7f5f244fb87 (patch) | |
tree | 4cf65b8c65041554ba6cdccd75ace4b62f247028 /tools/objtool | |
parent | 3723b56d6f73f7c8c3b521a80556f129830f6fb9 (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 <yury.norov@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions