qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 13/13] tcg: Fix !USE_DIRECT_JUMP


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH 13/13] tcg: Fix !USE_DIRECT_JUMP
Date: Fri, 21 Sep 2012 20:16:03 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Sep 17, 2012 at 08:28:52AM -0700, Richard Henderson wrote:
> Commit 6375e09e changed the type of TranslationBlock.tb_next,
> but failed to change the type of TCGContext.tb_next.
> 
> Signed-off-by: Richard Henderson <address@hidden>
> ---
>  tcg/tcg.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tcg/tcg.h b/tcg/tcg.h
> index 7a72729..21016ec 100644
> --- a/tcg/tcg.h
> +++ b/tcg/tcg.h
> @@ -343,7 +343,7 @@ struct TCGContext {
>  
>      /* goto_tb support */
>      uint8_t *code_buf;
> -    unsigned long *tb_next;
> +    uintptr_t *tb_next;
>      uint16_t *tb_next_offset;
>      uint16_t *tb_jmp_offset; /* != NULL if USE_DIRECT_JUMP */
>  

I have applied this patch, given it's not directly SPARC related, and
fixes the problem for other hosts too.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]