diff options
author | Andreas Färber | 2013-02-20 19:24:57 +0100 |
---|---|---|
committer | Alexander Graf | 2013-03-08 21:04:53 +0100 |
commit | edbe35e0319c15ed2f373bcca626cbb4361f87c8 (patch) | |
tree | 7c06b72cb24a50c9e9e98856bf6eeac5f285d000 /target-ppc/translate_init.c | |
parent | target-ppc: Synchronize FPU state with KVM (diff) | |
download | qemu-edbe35e0319c15ed2f373bcca626cbb4361f87c8.tar.gz qemu-edbe35e0319c15ed2f373bcca626cbb4361f87c8.tar.xz qemu-edbe35e0319c15ed2f373bcca626cbb4361f87c8.zip |
target-ppc: Fix PPC_DUMP_SPR_ACCESS build
A victim of the d523dd00a7d73b28f2e99acf45a4b3f92e56e40a AREG0
conversion, insert the missing cpu_env arguments.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/translate_init.c')
-rw-r--r-- | target-ppc/translate_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 7fb314c038..1783c22d4d 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -54,7 +54,7 @@ static void spr_load_dump_spr(int sprn) { #ifdef PPC_DUMP_SPR_ACCESSES TCGv_i32 t0 = tcg_const_i32(sprn); - gen_helper_load_dump_spr(t0); + gen_helper_load_dump_spr(cpu_env, t0); tcg_temp_free_i32(t0); #endif } @@ -69,7 +69,7 @@ static void spr_store_dump_spr(int sprn) { #ifdef PPC_DUMP_SPR_ACCESSES TCGv_i32 t0 = tcg_const_i32(sprn); - gen_helper_store_dump_spr(t0); + gen_helper_store_dump_spr(cpu_env, t0); tcg_temp_free_i32(t0); #endif } |