Skip to content
Snippets Groups Projects
Commit f9882246 authored by Stefan Kristiansson's avatar Stefan Kristiansson Committed by Tom Rini
Browse files

openrisc/bitops: add hweightX defines

parent 2bcffa6f
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment