diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-07-24 13:33:09 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-09-07 14:19:00 +0100 |
commit | 26efcec158a87133bb6255ae7d3127a5fa6e66fd (patch) | |
tree | 8d058a47d6defafda7da26df8d0c02019bda327b /xen-common-stub.c | |
parent | 1d0148fe6c121b21476ac1ba5120f8990e7fe6cd (diff) |
hw/block/nvme.c: Use pow2ceil() rather than hand-calculation
Use pow2ceil() to round up to the next 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-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'xen-common-stub.c')
0 files changed, 0 insertions, 0 deletions