mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-13 14:06:07 -04:00
openrisc/bitops: add hweightX defines
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
This commit is contained in:
parent
2bcffa6faa
commit
f9882246a0
@ -25,4 +25,8 @@
|
|||||||
#define PLATFORM_FFS
|
#define PLATFORM_FFS
|
||||||
#include <asm/bitops/ffs.h>
|
#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 */
|
#endif /* __ASM_GENERIC_BITOPS_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user