* [Qemu-devel] [PATCH] TCG: s390x: Fix compilation breakage
@ 2011-11-09 1:41 Alexander Graf
0 siblings, 0 replies; only message in thread
From: Alexander Graf @ 2011-11-09 1:41 UTC (permalink / raw)
To: qemu-devel; +Cc: Stefan Weil, Richard Henderson
While we're waiting for a proper fix to the compilation issue with
TCGRegs on s390x targets, I would like to have a quick fix in the
tree that allows us to build at all. I'd happily remove it again
later when we have a real fix.
This patch just #defines TCGReg to int, rendering the target API
compatible to the other targets again.
CC: Richard Henderson <rth@twiddle.net>
CC: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
tcg/s390/tcg-target.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c
index 4967f17..2ac7421 100644
--- a/tcg/s390/tcg-target.c
+++ b/tcg/s390/tcg-target.c
@@ -24,6 +24,9 @@
* THE SOFTWARE.
*/
+/* XXX hack to make us compatible to external defines for now */
+#define TCGReg int
+
/* ??? The translation blocks produced by TCG are generally small enough to
be entirely reachable with a 16-bit displacement. Leaving the option for
a 32-bit displacement here Just In Case. */
--
1.6.0.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-09 1:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 1:41 [Qemu-devel] [PATCH] TCG: s390x: Fix compilation breakage Alexander Graf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).