diff options
author | Peter Maydell | 2015-07-24 14:33:09 +0200 |
---|---|---|
committer | Peter Maydell | 2015-09-07 15:19:00 +0200 |
commit | 26efcec158a87133bb6255ae7d3127a5fa6e66fd (patch) | |
tree | 8d058a47d6defafda7da26df8d0c02019bda327b /exec.c | |
parent | hw/virtio/virtio-pci: Use pow2ceil() rather than hand-calculation (diff) | |
download | qemu-26efcec158a87133bb6255ae7d3127a5fa6e66fd.tar.gz qemu-26efcec158a87133bb6255ae7d3127a5fa6e66fd.tar.xz qemu-26efcec158a87133bb6255ae7d3127a5fa6e66fd.zip |
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 'exec.c')
0 files changed, 0 insertions, 0 deletions