aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/include/asm/hweight.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/include/asm/hweight.h')
-rw-r--r--tools/perf/util/include/asm/hweight.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/util/include/asm/hweight.h b/tools/perf/util/include/asm/hweight.h
new file mode 100644
index 00000000000..36cf26d434a
--- /dev/null
+++ b/tools/perf/util/include/asm/hweight.h
@@ -0,0 +1,8 @@
1#ifndef PERF_HWEIGHT_H
2#define PERF_HWEIGHT_H
3
4#include <linux/types.h>
5unsigned int hweight32(unsigned int w);
6unsigned long hweight64(__u64 w);
7
8#endif /* PERF_HWEIGHT_H */