exec.c: Use pow2floor() rather than hand-calculation
Use pow2floor() to round down to the nearest power of 2, rather than an inline calculation. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1437741192-20955-5-git-send-email-peter.maydell@linaro.org
This commit is contained in:
parent
26efcec158
commit
6554f5c037
Loading…
x
Reference in New Issue
Block a user