]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] bitops: generic sched_find_first_bit()
authorAkinobu Mita <mita@miraclelinux.com>
Sun, 26 Mar 2006 09:39:12 +0000 (01:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:11 +0000 (08:57 -0800)
commit7d41c268b61b2731895d50a9e9da335bd122d9c4
tree20403ba836b8e5e7ace71cae914bbc16d552a4bd
parent17e15e3e15ac7773dd120d6e817b6a17f45f2377
[PATCH] bitops: generic sched_find_first_bit()

This patch introduces the C-language equivalent of the function: int
sched_find_first_bit(const unsigned long *b);

In include/asm-generic/bitops/sched.h

This code largely copied from: include/asm-powerpc/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/sched.h [new file with mode: 0644]