Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2006-03-26 | [PATCH] fix error: __u32 undeclared | Akinobu Mita | 1 | -0/+2 | |
Build fix for s390 declare __u32 and __u64. 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 | [PATCH] bitops: generic hweight{64,32,16,8}() | Akinobu Mita | 1 | -0/+9 | |
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> |