diff options
| author | Andrew Jones <[email protected]> | 2025-03-14 17:30:23 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-04-14 15:29:19 +0530 |
| commit | a6e5f8878c1201a307236d8355db68075591c9db (patch) | |
| tree | f865112535ff18279d46c47a5502fe26f6804bb7 /lib/utils/cppc/objects.mk | |
| parent | 2142618f122b9f8052c5ad91d0ba3ef1a62fb9c2 (diff) | |
sbi: Introduce sbi_hartmask_weight
Provide a function to count the number of set bits in a hartmask,
which builds on a new function for the same that operates on a
bitmask. While at it, improve the performance of sbi_popcount()
which is used in the implementation.
Signed-off-by: Andrew Jones <[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 'lib/utils/cppc/objects.mk')
0 files changed, 0 insertions, 0 deletions
