]> git.proxmox.com Git - mirror_qemu.git/commit
osdep: Document differences in rounding macros
authorEric Blake <eblake@redhat.com>
Thu, 21 Jul 2016 19:34:47 +0000 (13:34 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Aug 2016 16:44:56 +0000 (18:44 +0200)
commite9fd416e66539ad43bbab018f346cb164136c099
tree1e5c85ddf147c6faecc151843a356b255f3ba2fb
parent7423f417827146f956df820f172d0bf80a489495
osdep: Document differences in rounding macros

Make it obvious which macros are safe in which situations.

Useful since QEMU_ALIGN_UP and ROUND_UP both purport to do
the same thing, but differ on whether the alignment must be
a power of 2.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1469129688-22848-4-git-send-email-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/osdep.h