memory: Use non-bitops ctzl
authorRichard Henderson <rth@twiddle.net>
Thu, 14 Feb 2013 01:47:38 +0000 (17:47 -0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 16 Feb 2013 11:12:13 +0000 (11:12 +0000)
commit5bbf90be97203c472f47da070c0040b464c0460f
tree65279c3c79ddeabf76d11f9e8330a25a0ead887d
parent265ce4a5ca39fb7f74a803dd61bbd9108ca6cdee
memory: Use non-bitops ctzl

A memory size of zero is invalid, and so that edge condition
does not occur.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
memory.c