linux-stable-rt/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
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
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
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
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
mtd
net
pcmcia
rdma
rxrpc
scsi
sound
video