android_kernel_xiaomi_sdm845/arch/sparc
Peter Zijlstra 1527bc8b92 bitops: Optimize hweight() by making use of compile-time evaluation
Rename the extisting runtime hweight() implementations to
__arch_hweight(), rename the compile-time versions to __const_hweight()
and then have hweight() pick between them.

Suggested-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100318111929.GB11152@aftab>
Acked-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <1265028224.24455.154.camel@laptop>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2010-04-06 15:52:11 -07:00
..
boot arch/sparc/boot/*.c: Mark various internal functions static 2009-11-15 15:01:40 -08:00
configs sparc64: Update defconfig. 2010-04-03 16:18:32 -07:00
include/asm bitops: Optimize hweight() by making use of compile-time evaluation 2010-04-06 15:52:11 -07:00
kernel Merge branch 'master' into export-slabh 2010-04-05 11:37:28 +09:00
lib sparc: Stop trying to be so fancy and use __builtin_{memcpy,memset}() 2009-12-10 23:32:10 -08:00
math-emu sparc: Add alignment and emulation fault perf events. 2009-12-11 01:07:53 -08:00
mm Merge branch 'master' into export-slabh 2010-04-05 11:37:28 +09:00
oprofile sparc: using HZ needs an include of linux/param.h 2009-10-05 00:46:08 -07:00
prom sparc64: Make prom entry spinlock NMI safe. 2010-03-03 09:06:03 -08:00
Kconfig pci-dma: sparc: use include/linux/pci-dma.h 2010-03-12 15:52:41 -08:00
Kconfig.debug sparc: Use __builtin_object_size() to validate the buffer size for copy_from_user() 2009-12-10 23:05:23 -08:00
Makefile sparc: Set UTS_MACHINE correctly. 2009-12-05 17:17:55 -08:00