Received: from eggs.gnu.org ([140.186.70.92]:39150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNwyq-0003bq-66 for qemu-devel@nongnu.org; Tue, 08 Nov 2011 20:29:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNwyo-0000JY-M0 for qemu-devel@nongnu.org; Tue, 08 Nov 2011 20:29:32 -0500 Received: from cantor2.suse.de ([195.135.220.15]:36214 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNwyo-0000JU-G2 for qemu-devel@nongnu.org; Tue, 08 Nov 2011 20:29:30 -0500 From: Alexander Graf Date: Wed, 9 Nov 2011 02:41:13 +0100 Message-Id: <1320802873-22113-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH] TCG: s390x: Fix compilation breakage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 CC: Stefan Weil Signed-off-by: Alexander Graf --- 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