]> Git Repo - qemu.git/commitdiff
cpus: fix wrong define name
authorNikunj A Dadhania <[email protected]>
Mon, 10 Apr 2017 06:06:55 +0000 (11:36 +0530)
committerAlex Bennée <[email protected]>
Mon, 10 Apr 2017 09:14:28 +0000 (10:14 +0100)
While the configure script generates TARGET_SUPPORTS_MTTCG define, one
of the define is cpus.c is checking wrong name: TARGET_SUPPORT_MTTCG

Signed-off-by: Nikunj A Dadhania <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
cpus.c

diff --git a/cpus.c b/cpus.c
index 68fdbc40b9d0278798ad20b66ebb6388dd298dc9..58d90aa2b9e9572951d50b894204ac8dd1ca3019 100644 (file)
--- a/cpus.c
+++ b/cpus.c
@@ -202,7 +202,7 @@ void qemu_tcg_configure(QemuOpts *opts, Error **errp)
             } else if (use_icount) {
                 error_setg(errp, "No MTTCG when icount is enabled");
             } else {
-#ifndef TARGET_SUPPORT_MTTCG
+#ifndef TARGET_SUPPORTS_MTTCG
                 error_report("Guest not yet converted to MTTCG - "
                              "you may get unexpected results");
 #endif
This page took 0.028975 seconds and 4 git commands to generate.