original_kernel/include
Alexander van Heukelum 56a6b1eb7b generic: implement __fls on all 64-bit archs
Implement __fls on all 64-bit archs:

alpha has an implementation of fls64.
	Added __fls(x) = fls64(x) - 1.

ia64 has fls, but not __fls.
	Added __fls based on code of fls.

mips and powerpc have __ilog2, which is the same as __fls.
	Added __fls = __ilog2.

parisc, s390, sh and sparc64:
	Include generic __fls.

x86_64 already has __fls.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-04-26 19:21:16 +02:00
..
acpi
asm-alpha generic: implement __fls on all 64-bit archs 2008-04-26 19:21:16 +02:00
asm-arm
asm-avr32
asm-blackfin
asm-cris
asm-frv
asm-generic generic: introduce a generic __fls implementation 2008-04-26 19:21:16 +02:00
asm-h8300
asm-ia64 generic: implement __fls on all 64-bit archs 2008-04-26 19:21:16 +02:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips generic: implement __fls on all 64-bit archs 2008-04-26 19:21:16 +02:00
asm-mn10300
asm-parisc generic: implement __fls on all 64-bit archs 2008-04-26 19:21:16 +02:00
asm-powerpc generic: implement __fls on all 64-bit archs 2008-04-26 19:21:16 +02:00
asm-ppc
asm-s390 generic: implement __fls on all 64-bit archs 2008-04-26 19:21:16 +02:00
asm-sh generic: implement __fls on all 64-bit archs 2008-04-26 19:21:16 +02:00
asm-sparc
asm-sparc64 generic: implement __fls on all 64-bit archs 2008-04-26 19:21:16 +02:00
asm-um
asm-v850
asm-x86 x86: merge the simple bitops and move them to bitops.h 2008-04-26 19:21:16 +02:00
asm-xtensa
crypto
keys
linux x86, generic: optimize find_next_(zero_)bit for small constant-size bitmaps 2008-04-26 19:21:16 +02:00
math-emu
media
mtd
net
pcmcia
rdma
rxrpc
scsi
sound
video
xen
Kbuild