dcavalca / rpms / qemu

Forked from rpms/qemu a year ago
Clone

Blame 0055-tcg-Fix-USE_DIRECT_JUMP.patch

5544c1
From 03ddebf0c48dc78070c846b7cfdc2665fe7df854 Mon Sep 17 00:00:00 2001
5544c1
From: Richard Henderson <rth@twiddle.net>
5544c1
Date: Mon, 17 Sep 2012 08:28:52 -0700
5544c1
Subject: [PATCH] tcg: Fix !USE_DIRECT_JUMP
5544c1
MIME-Version: 1.0
5544c1
Content-Type: text/plain; charset=UTF-8
5544c1
Content-Transfer-Encoding: 8bit
5544c1
5544c1
Commit 6375e09e changed the type of TranslationBlock.tb_next,
5544c1
but failed to change the type of TCGContext.tb_next.
5544c1
5544c1
Signed-off-by: Richard Henderson <rth@twiddle.net>
5544c1
Reviewed-by: Andreas Färber <afaerber@suse.de>
5544c1
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
5544c1
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
5544c1
---
5544c1
 tcg/tcg.h | 2 +-
5544c1
 1 file changed, 1 insertion(+), 1 deletion(-)
5544c1
5544c1
diff --git a/tcg/tcg.h b/tcg/tcg.h
5544c1
index f454107..609ed86 100644
5544c1
--- a/tcg/tcg.h
5544c1
+++ b/tcg/tcg.h
5544c1
@@ -344,7 +344,7 @@ struct TCGContext {
5544c1
 
5544c1
     /* goto_tb support */
5544c1
     uint8_t *code_buf;
5544c1
-    unsigned long *tb_next;
5544c1
+    uintptr_t *tb_next;
5544c1
     uint16_t *tb_next_offset;
5544c1
     uint16_t *tb_jmp_offset; /* != NULL if USE_DIRECT_JUMP */
5544c1
 
5544c1
-- 
5544c1
1.7.12.1
5544c1