aboutsummaryrefslogtreecommitdiff
path: root/target/arm/kvm-consts.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/arm/kvm-consts.h')
-rw-r--r--target/arm/kvm-consts.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/arm/kvm-consts.h b/target/arm/kvm-consts.h
index a2c9518592..06b6c920b1 100644
--- a/target/arm/kvm-consts.h
+++ b/target/arm/kvm-consts.h
@@ -21,7 +21,9 @@
#define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(X != Y)
#else
-#define MISMATCH_CHECK(X, Y)
+
+#define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0)
+
#endif
#define CP_REG_SIZE_SHIFT 52