1
0
Fork 0

openrisc/bitops: add hweightX defines

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
utp
Stefan Kristiansson 2012-02-22 07:10:09 +00:00 committed by Tom Rini
parent 2bcffa6faa
commit f9882246a0
1 changed files with 4 additions and 0 deletions

View File

@ -25,4 +25,8 @@
#define PLATFORM_FFS
#include <asm/bitops/ffs.h>
#define hweight32(x) generic_hweight32(x)
#define hweight16(x) generic_hweight16(x)
#define hweight8(x) generic_hweight8(x)
#endif /* __ASM_GENERIC_BITOPS_H */