diff options
author | Charles Manning <cdhmanning@gmail.com> | 2011-04-29 17:08:07 +1200 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2011-05-19 13:24:32 +1200 |
commit | 99b65b5903a088ae36a4fd158606009382d93163 (patch) | |
tree | 29087d559f4d1bdf669fdb9913a461a6868ae9e5 /direct/yaffs_hweight.c | |
parent | a608236b1929a912dea67fb2afc92784c4a454e7 (diff) |
yaffs: Fix compilation of utils
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | direct/yaffs_hweight.c | 8 |
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); } |