diff mbox

[buildfix] tcg/ppc: Fix build of tcg_qemu_tb_exec()

Message ID 1361053284-29178-1-git-send-email-andreas.faerber@web.de
State New
Headers show

Commit Message

Andreas Färber Feb. 16, 2013, 10:21 p.m. UTC
Commit 0b0d3320db74cde233ee7855ad32a9c121d20eb4 (TCG: Final globals
clean-up) moved code_gen_prologue but forgot to update ppc code.
This broke the build on 32-bit ppc. ppc64 is unaffected.

Cc: Evgeny Voevodin <evgenyvoevodin@gmail.com>
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
---
 tcg/ppc/tcg-target.h |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

Comments

Blue Swirl Feb. 17, 2013, 3:46 p.m. UTC | #1
Thanks, applied.

On Sat, Feb 16, 2013 at 10:21 PM, Andreas Färber <andreas.faerber@web.de> wrote:
> Commit 0b0d3320db74cde233ee7855ad32a9c121d20eb4 (TCG: Final globals
> clean-up) moved code_gen_prologue but forgot to update ppc code.
> This broke the build on 32-bit ppc. ppc64 is unaffected.
>
> Cc: Evgeny Voevodin <evgenyvoevodin@gmail.com>
> Cc: Blue Swirl <blauwirbel@gmail.com>
> Signed-off-by: Andreas Färber <andreas.faerber@web.de>
> ---
>  tcg/ppc/tcg-target.h |    2 +-
>  1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
>
> diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h
> index ea26769..0fdad04 100644
> --- a/tcg/ppc/tcg-target.h
> +++ b/tcg/ppc/tcg-target.h
> @@ -99,6 +99,6 @@ typedef enum {
>
>  #define tcg_qemu_tb_exec(env, tb_ptr) \
>      ((long __attribute__ ((longcall)) \
> -      (*)(void *, void *))code_gen_prologue)(env, tb_ptr)
> +      (*)(void *, void *))tcg_ctx.code_gen_prologue)(env, tb_ptr)
>
>  #endif
> --
> 1.7.10.4
>
diff mbox

Patch

diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h
index ea26769..0fdad04 100644
--- a/tcg/ppc/tcg-target.h
+++ b/tcg/ppc/tcg-target.h
@@ -99,6 +99,6 @@  typedef enum {
 
 #define tcg_qemu_tb_exec(env, tb_ptr) \
     ((long __attribute__ ((longcall)) \
-      (*)(void *, void *))code_gen_prologue)(env, tb_ptr)
+      (*)(void *, void *))tcg_ctx.code_gen_prologue)(env, tb_ptr)
 
 #endif