From: Andreas Färber Date: Sat, 16 Feb 2013 22:21:24 +0000 (+0100) Subject: tcg/ppc: Fix build of tcg_qemu_tb_exec() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=be96bd3fbffde908a392c830c856063e122791c1;p=qemu.git tcg/ppc: Fix build of tcg_qemu_tb_exec() 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 Cc: Blue Swirl Signed-off-by: Andreas Färber Signed-off-by: Blue Swirl --- diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h index ea26769581..0fdad04ee4 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