aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/bitops/__ffs.h
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] bitops: generic __ffs()Akinobu Mita2006-03-261-0/+43
This patch introduces the C-language equivalent of the function: unsigned long __ffs(unsigned long word); In include/asm-generic/bitops/__ffs.h This code largely copied from: include/asm-sparc/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>