Commit 0f9d8bd3 authored by Richard Henderson's avatar Richard Henderson Committed by Blue Swirl
Browse files

bitops: Replace bitops_ctol with ctzl



The is the only remaining user.

Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent 4932398f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)