Skip to content
Commit 06024f21 authored by Alexandre Oliva's avatar Alexandre Oliva Committed by Linus Torvalds
Browse files

[PATCH] x86-64: bitops fix for -Os



This fixes the x86-64 find_[first|next]_zero_bit() function for the
end-of-range case.  It didn't test for a zero size, and the "rep scas"
would do entirely the wrong thing.

Signed-off-by: default avatarAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cfa024f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment