summaryrefslogtreecommitdiff
path: root/include/linux/cpumask.h
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2022-07-01 15:54:25 +0300
committerYury Norov <yury.norov@gmail.com>2022-07-15 16:35:54 +0300
commit4dea97f8636d0514befc9fc5cf342b351b7d0e20 (patch)
tree229c6eb22cd7c99bbe8d942a8f1b84465199a2fa /include/linux/cpumask.h
parente2863a78593d638d3924a6f67900c4820034f349 (diff)
downloadlinux-4dea97f8636d0514befc9fc5cf342b351b7d0e20.tar.xz
lib/bitmap: change type of bitmap_weight to unsigned long
bitmap_weight() doesn't return negative values, so change it's type to unsigned long. It may help compiler to generate better code and catch bugs. Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'include/linux/cpumask.h')
0 files changed, 0 insertions, 0 deletions