diff options
author | Akinobu Mita <mita@miraclelinux.com> | 2006-03-26 01:39:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 08:57:10 -0800 |
commit | c1226a005ec400e966f4993dfcc0e99fd7baa6a1 (patch) | |
tree | 7c69ee952fae6209b7e760c1b7de83e2d9f05d25 /include/asm-generic/bitops/ffz.h | |
parent | 4117b02132d1cf96a3e1c57148e302c4801c974d (diff) | |
download | blackbird-op-linux-c1226a005ec400e966f4993dfcc0e99fd7baa6a1.tar.gz blackbird-op-linux-c1226a005ec400e966f4993dfcc0e99fd7baa6a1.zip |
[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>
Diffstat (limited to 'include/asm-generic/bitops/ffz.h')
0 files changed, 0 insertions, 0 deletions