commit | 37d54111c133bea05fbae9dfe6d3d61a1b19c09b | [log] [tgz] |
---|---|---|
author | Akinobu Mita <mita@miraclelinux.com> | Sun Mar 26 01:39:56 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Mar 26 08:57:15 2006 -0800 |
tree | 780d15232a465815b96e2cd22c85b3e05f2b1238 | |
parent | e9bebd6f3acee68fa07d44726895b40733cb1dc0 [diff] |
[PATCH] bitops: hweight() related cleanup By defining generic hweight*() routines - hweight64() will be defined on all architectures - hweight_long() will use architecture optimized hweight32() or hweight64() I found two possible cleanups by these reasons. Signed-off-by: Akinobu Mita <mita@miraclelinux.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>