···9898 return (sizeof(__u64) * 8) - __builtin_clzll(w);9999}100100101101-static inline unsigned int hweight32(unsigned int w)101101+static inline unsigned int __arch_hweight32(unsigned int w)102102{103103 return __builtin_popcount(w);104104}105105106106-static inline unsigned int hweight16(unsigned int w)106106+static inline unsigned int __arch_hweight16(unsigned int w)107107{108108 return __builtin_popcount(w & 0xffff);109109}110110111111-static inline unsigned int hweight8(unsigned int w)111111+static inline unsigned int __arch_hweight8(unsigned int w)112112{113113 return __builtin_popcount(w & 0xff);114114}115115116116-static inline unsigned long hweight64(__u64 w)116116+static inline unsigned long __arch_hweight64(__u64 w)117117{118118 return __builtin_popcountll(w);119119}120120121121+#include <asm-generic/bitops/const_hweight.h>121122#include <asm-generic/bitops/lock.h>122123#include <asm-generic/bitops/sched.h>123124#include <asm-generic/bitops/ext2-non-atomic.h>