]> err.no Git - linux-2.6/commit
[PATCH] x86-64: bitops fix for -Os
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 31 Oct 2005 20:29:36 +0000 (18:29 -0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 3 Nov 2005 03:41:32 +0000 (19:41 -0800)
commit06024f217d607369f0ee0071034ebb03071d5fb2
treed38a20395a0619976543cfb68ea925aebc545575
parentcfa024f4e45562c50b9eccb23649ab103578037b
[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: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/lib/bitops.c