[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)
commit6d29ea23da033f46ac4ab359d46650a7f7474611
tree20403ba836b8e5e7ace71cae914bbc16d552a4bd
parentc7f612cdf091def01454e7e132c7d7a3f419fbc4
[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]