[PATCH] speed up on find_first_bit for i386 (let compiler do the work)
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 28 Jul 2005 12:45:06 +0000 (08:45 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 28 Jul 2005 15:40:31 +0000 (08:40 -0700)
commitcd85c8b4457a52d3545fdb9532082b2c1ebd5f21
tree58b294ef3cd90f08fa77555352de63934a881405
parent79a8810221ee9ea96c4e5a5817afb88f22ea698c
[PATCH] speed up on find_first_bit for i386 (let compiler do the work)

Avoid using "rep scas", just let the compiler select a sequence of
regular instructions.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/bitops.h