perf tools: Don't use code surrounded by __KERNEL__
[linux-2.6.git] / tools / perf / util / include / asm / hweight.h
1 #ifndef PERF_HWEIGHT_H
2 #define PERF_HWEIGHT_H
3
4 #include <linux/types.h>
5 unsigned int hweight32(unsigned int w);
6 unsigned long hweight64(__u64 w);
7
8 #endif /* PERF_HWEIGHT_H */