Akinobu Mita 3b9ed1a5d2 [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>
2006-03-26 08:57:11 -08:00
..
2006-03-23 07:38:10 -08:00
2006-01-10 08:01:57 -08:00
2006-01-10 08:01:57 -08:00
2005-10-18 08:26:15 -07:00
2006-03-24 07:33:20 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-07 10:00:40 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-28 14:42:23 -08:00
2005-04-16 15:20:36 -07:00
2006-02-18 16:30:40 -05:00
2005-09-10 10:06:21 -07:00
2006-03-20 13:42:59 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:25:02 -07:00
2005-10-30 17:37:32 -08:00
2006-03-22 07:53:56 -08:00
2006-03-24 18:47:11 +01:00
2005-10-28 08:16:47 -07:00
2005-10-30 17:37:32 -08:00