summaryrefslogtreecommitdiffstats
path: root/hw/core
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2018-06-25 14:41:58 +0200
committerPaolo Bonzini2018-07-02 15:41:12 +0200
commitfc6b3cf9e8ff5290ebac39e846add08e1e3c02c1 (patch)
tree97339858e35777a7699b4e085d11ddf4b6d24f4e /hw/core
parenthw: Use IEC binary prefix definitions from "qemu/units.h" (diff)
downloadqemu-fc6b3cf9e8ff5290ebac39e846add08e1e3c02c1.tar.gz
qemu-fc6b3cf9e8ff5290ebac39e846add08e1e3c02c1.tar.xz
qemu-fc6b3cf9e8ff5290ebac39e846add08e1e3c02c1.zip
hw: Directly use "qemu/units.h" instead of "qemu/cutils.h"
These files don't use anything exposed by "qemu/cutils.h", simplify preprocessing including directly "qemu/units.h". Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: David Gibson <david@gibson.dropbear.id.au> (ppc parts) Message-Id: <20180625124238.25339-7-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core')
-rw-r--r--hw/core/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c
index ccf3a4b9c7..2077328bcc 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -11,6 +11,7 @@
*/
#include "qemu/osdep.h"
+#include "qemu/units.h"
#include "hw/boards.h"
#include "qapi/error.h"
#include "qapi/qapi-visit-common.h"
@@ -19,7 +20,6 @@
#include "sysemu/sysemu.h"
#include "sysemu/numa.h"
#include "qemu/error-report.h"
-#include "qemu/cutils.h"
#include "sysemu/qtest.h"
static char *machine_get_accel(Object *obj, Error **errp)