hweight.h revision 097a574687b429a2f8ab7988308c7edb828156b6
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 */ 11unsigned int hweight32(unsigned int w); 12unsigned long hweight64(__u64 w); 13 14#endif /* PERF_HWEIGHT_H */ 15