1 #ifndef PERF_HWEIGHT_H 2 #define PERF_HWEIGHT_H 3 4 /* ANDROID_CHANGE_BEGIN */ 5 #ifndef __APPLE__ 6 /* Suppress kernel-name space pollution in <linux/types.h> below */ 7 #include <features.h> 8 #include <linux/types.h> 9 #endif 10 /* ANDROID_CHANGE_END */ 11 unsigned int hweight32(unsigned int w); 12 unsigned long hweight64(__u64 w); 13 14 #endif /* PERF_HWEIGHT_H */ 15