]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] bitops: generic fls()
authorAkinobu Mita <mita@miraclelinux.com>
Sun, 26 Mar 2006 09:39:09 +0000 (01:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:10 +0000 (08:57 -0800)
commit136abb32d6b4acf196425fb3968ebb368d84280e
tree48f0f127f204569b4484bac6ab014f8ca36f7477
parent176d8b0c2709e764d491e63a0c1b3a3e1459fcf8
[PATCH] bitops: generic fls()

This patch introduces the C-language equivalent of the function: int fls(int
x);

In include/asm-generic/bitops/fls.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>
include/asm-generic/bitops/fls.h [new file with mode: 0644]