Change requested in launchpad bug #1288352
[packages/centos6/qemu.git] / 0055-tcg-Fix-USE_DIRECT_JUMP.patch
1 From 03ddebf0c48dc78070c846b7cfdc2665fe7df854 Mon Sep 17 00:00:00 2001
2 From: Richard Henderson <rth@twiddle.net>
3 Date: Mon, 17 Sep 2012 08:28:52 -0700
4 Subject: [PATCH] tcg: Fix !USE_DIRECT_JUMP
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Commit 6375e09e changed the type of TranslationBlock.tb_next,
10 but failed to change the type of TCGContext.tb_next.
11
12 Signed-off-by: Richard Henderson <rth@twiddle.net>
13 Reviewed-by: Andreas Färber <afaerber@suse.de>
14 Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
15 Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
16 ---
17  tcg/tcg.h | 2 +-
18  1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/tcg/tcg.h b/tcg/tcg.h
21 index f454107..609ed86 100644
22 --- a/tcg/tcg.h
23 +++ b/tcg/tcg.h
24 @@ -344,7 +344,7 @@ struct TCGContext {
25  
26      /* goto_tb support */
27      uint8_t *code_buf;
28 -    unsigned long *tb_next;
29 +    uintptr_t *tb_next;
30      uint16_t *tb_next_offset;
31      uint16_t *tb_jmp_offset; /* != NULL if USE_DIRECT_JUMP */
32  
33 -- 
34 1.7.12.1
35