linux/include
Akinobu Mita 3b9ed1a5d2 [PATCH] bitops: generic hweight{64,32,16,8}()
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>
2006-03-26 08:57:11 -08:00
..
acpi [PATCH] s/;;/;/g 2006-03-24 07:33:24 -08:00
asm-alpha [PATCH] bitops: alpha: use config options instead of __alpha_fix__ and __alpha_cix__ 2006-03-26 08:57:09 -08:00
asm-arm [PATCH] arm: fix undefined reference to generic_fls 2006-03-26 08:57:09 -08:00
asm-arm26 [PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications 2006-03-25 08:22:56 -08:00
asm-cris [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-frv [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-generic [PATCH] bitops: generic hweight{64,32,16,8}() 2006-03-26 08:57:11 -08:00
asm-h8300 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-i386 [PATCH] x86: kprobes-booster 2006-03-26 08:57:04 -08:00
asm-ia64 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-m32r [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-m68k [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-m68knommu [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-mips [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-parisc [PATCH] bitops: parisc: add ()-pair in __ffz() macro 2006-03-26 08:57:10 -08:00
asm-powerpc [PATCH] 2TB files: add blkcnt_t 2006-03-26 08:57:00 -08:00
asm-ppc
asm-s390 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-sh [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-sh64 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-sparc [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-sparc64 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-um [PATCH] x86: SMP alternatives 2006-03-23 07:38:04 -08:00
asm-v850 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-x86_64 [PATCH] x86_64: Removed duplicated declaration of force_iommu 2006-03-25 09:14:39 -08:00
asm-xtensa [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
keys
linux [PATCH] more s/fucn/func/ typo fixes 2006-03-26 08:57:09 -08:00
math-emu
media V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. 2006-03-24 16:27:00 -03:00
mtd
net [IPV4]: Aggregate route entries with different TOS values 2006-03-25 01:38:55 -08:00
pcmcia
rdma
rxrpc
scsi [PATCH] Make libata not powerdown drivers on PM_EVENT_FREEZE. 2006-03-24 09:51:36 -05:00
sound [PATCH] sound: remove PC98-specific OPL3_HW_OPL3_PC98 2006-03-24 07:33:26 -08:00
video [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00