Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment