summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorYu-Chien Peter Lin <[email protected]>2026-03-11 20:51:15 +0800
committerAnup Patel <[email protected]>2026-04-08 17:58:05 +0530
commitff7d245b86daa36aa36147022fa583e79ffe25cc (patch)
treea713aeb93bbfccce15a2074f5be3f3d92874da29 /firmware
parent0b041e58c0787f76325da5081e41a13bf304d328 (diff)
include: sbi_bitmap: add bitmap_empty() function
Add bitmap_empty() to check if bitmap has no bits set. Unlike bitmap_weight() which calls sbi_popcount() on every word, bitmap_empty() uses simple non-zero comparisons with early exit. Signed-off-by: Yu-Chien Peter Lin <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions