summaryrefslogtreecommitdiff
path: root/direct/yaffs_hweight.c
diff options
context:
space:
mode:
Diffstat (limited to 'direct/yaffs_hweight.c')
-rw-r--r--direct/yaffs_hweight.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/direct/yaffs_hweight.c b/direct/yaffs_hweight.c
index c00517e..9851683 100644
--- a/direct/yaffs_hweight.c
+++ b/direct/yaffs_hweight.c
@@ -45,9 +45,9 @@ int yaffs_hweight8(u8 x)
int yaffs_hweight32(u32 x)
{
- return hweight8(x & 0xff) +
- hweight8((x >> 8) & 0xff) +
- hweight8((x >> 16) & 0xff) +
- hweight8((x >> 24) & 0xff);
+ return yaffs_hweight8(x & 0xff) +
+ yaffs_hweight8((x >> 8) & 0xff) +
+ yaffs_hweight8((x >> 16) & 0xff) +
+ yaffs_hweight8((x >> 24) & 0xff);
}