mirror of https://github.com/xemu-project/xemu.git
bitops: Replace bitops_ctol with ctzl
The is the only remaining user. Signed-off-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
4932398fac
commit
0f9d8bd386
|
@ -109,7 +109,7 @@ found_first:
|
|||
return result + size; /* Nope. */
|
||||
}
|
||||
found_middle:
|
||||
return result + bitops_ctol(tmp);
|
||||
return result + ctzl(~tmp);
|
||||
}
|
||||
|
||||
unsigned long find_last_bit(const unsigned long *addr, unsigned long size)
|
||||
|
|
Loading…
Reference in New Issue