diff options
| author | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2026-06-12 17:21:59 +0000 |
|---|---|---|
| committer | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2026-06-24 16:47:09 +0000 |
| commit | 8aa685153bd6a05f6c0f89ae067d67a00a984c05 (patch) | |
| tree | 9be478cab7efb6e618349876c4e6f6d956ff9cf0 /sys/compat/linuxkpi | |
| parent | 272a12639440c2865fefba8b38771f8dd0ac5778 (diff) | |
Diffstat (limited to 'sys/compat/linuxkpi')
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/bitmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/bitmap.h b/sys/compat/linuxkpi/common/include/linux/bitmap.h index f26a0f99dc03..443cf6324642 100644 --- a/sys/compat/linuxkpi/common/include/linux/bitmap.h +++ b/sys/compat/linuxkpi/common/include/linux/bitmap.h @@ -202,7 +202,7 @@ bitmap_release_region(unsigned long *bitmap, int pos, int order) } static inline unsigned int -bitmap_weight(unsigned long *addr, const unsigned int size) +bitmap_weight(const unsigned long *addr, const unsigned int size) { const unsigned int end = BIT_WORD(size); const unsigned int tail = size & (BITS_PER_LONG - 1); |
