commit | c1226a005ec400e966f4993dfcc0e99fd7baa6a1 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <mita@miraclelinux.com> | Sun Mar 26 01:39:08 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Mar 26 08:57:10 2006 -0800 |
tree | 7c69ee952fae6209b7e760c1b7de83e2d9f05d25 | |
parent | 4117b02132d1cf96a3e1c57148e302c4801c974d [diff] |
[PATCH] bitops: generic __ffs() 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>