diff mbox series

[PULL,02/11] cpus: fix wrong define name

Message ID 20170410125524.21008-3-alex.bennee@linaro.org
State Accepted
Commit 8695350357abc38a4f915ba6cb62e796bbbaf111
Headers show
Series Final icount and misc MTTCG fixes for 2.9 | expand

Commit Message

Alex Bennée April 10, 2017, 12:55 p.m. UTC
From: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>


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 <nikunj@linux.vnet.ibm.com>

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>


-- 
2.11.0
diff mbox series

Patch

diff --git a/cpus.c b/cpus.c
index 68fdbc40b9..58d90aa2b9 100644
--- 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