On Wed, Jul 22, 2015 at 05:44:07PM +0100, Peter Maydell wrote: > Move the muldiv64() function from qemu-common.h to host-utils.h. > This puts it together with all the other arithmetic functions > where we provide a version with __int128_t and a fallback > without, and allows headers which need muldiv64() to avoid > including qemu-common.h. > > We don't include host-utils from qemu-common.h, to avoid dragging > more things into qemu-common.h than it already has; in practice > everywhere that needs muldiv64() can get it via qemu/timer.h. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > include/qemu-common.h | 31 ------------------------------- > include/qemu/host-utils.h | 29 +++++++++++++++++++++++++++++ > include/qemu/timer.h | 1 + > 3 files changed, 30 insertions(+), 31 deletions(-)
Reviewed-by: Daniel P. Berrange <berra...@redhat.com> Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|