bitops: Provide compile time HWEIGHT{8,16,32,64}
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 22 Jan 2010 14:59:29 +0000 (15:59 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Jan 2010 08:01:39 +0000 (09:01 +0100)
commit9f41699ed067fa695faff8e2e9981b2550abec62
treed579511fdefee2dff6d113f7afac1149a3bb6b0d
parent8433be1184e4f22c37d4b8ed36cde529a47882f4
bitops: Provide compile time HWEIGHT{8,16,32,64}

Provide compile time versions of hweight.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <20100122155535.797688466@chello.nl>
[ Remove some whitespace damage while we are at it ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/bitops.h