summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/include/asm/hweight.h
blob: 36cf26d434a59705f64cfd88c47e84c94e0e1f09 (plain)
1
2
3
4
5
6
7
8
#ifndef PERF_HWEIGHT_H
#define PERF_HWEIGHT_H

#include <linux/types.h>
unsigned int hweight32(unsigned int w);
unsigned long hweight64(__u64 w);

#endif /* PERF_HWEIGHT_H */