mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
95ed57c73b
In some places, drivers/perf code calls bitmap_weight() to check if any bit of a given bitmap is set. It's better to use bitmap_empty() in that case because bitmap_empty() stops traversing the bitmap as soon as it finds first set bit, while bitmap_weight() counts all bits unconditionally. Signed-off-by: Yury Norov <yury.norov@gmail.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20220210224933.379149-13-yury.norov@gmail.com Signed-off-by: Will Deacon <will@kernel.org> |
||
---|---|---|
.. | ||
hisi_pcie_pmu.c | ||
hisi_uncore_ddrc_pmu.c | ||
hisi_uncore_hha_pmu.c | ||
hisi_uncore_l3c_pmu.c | ||
hisi_uncore_pa_pmu.c | ||
hisi_uncore_pmu.c | ||
hisi_uncore_pmu.h | ||
hisi_uncore_sllc_pmu.c | ||
Kconfig | ||
Makefile |