aboutsummaryrefslogtreecommitdiffstats
path: root/lib/halfmd4.c
diff options
context:
space:
mode:
authorAkinobu Mita <mita@miraclelinux.com>2006-03-26 01:39:13 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 08:57:11 -0800
commit3b9ed1a5d2d121f32d2cb4f2b05f1fc57c99c946 (patch)
treed8ea52d6b490c0e3b3851e1887c01700cc0115c6 /lib/halfmd4.c
parent[PATCH] bitops: generic ffs() (diff)
downloadlinux-dev-3b9ed1a5d2d121f32d2cb4f2b05f1fc57c99c946.tar.xz
linux-dev-3b9ed1a5d2d121f32d2cb4f2b05f1fc57c99c946.zip
[PATCH] bitops: generic hweight{64,32,16,8}()
This patch introduces the C-language equivalents of the functions below: unsigned int hweight32(unsigned int w); unsigned int hweight16(unsigned int w); unsigned int hweight8(unsigned int w); unsigned long hweight64(__u64 w); In include/asm-generic/bitops/hweight.h This code largely copied from: include/linux/bitops.h Signed-off-by: Akinobu Mita <mita@miraclelinux.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions