]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] bitops: hweight() related cleanup
authorAkinobu Mita <mita@miraclelinux.com>
Sun, 26 Mar 2006 09:39:56 +0000 (01:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:15 +0000 (08:57 -0800)
commit16445df75058faae276e9a346578cad63e564941
tree780d15232a465815b96e2cd22c85b3e05f2b1238
parent7b89d40b5328947962bf943f3bcc8038be118e3e
[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>
drivers/ieee1394/highlevel.c
lib/bitmap.c