diff options
author | Andreas Färber <afaerber@suse.de> | 2013-02-20 18:24:57 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-03-08 21:04:53 +0100 |
commit | edbe35e0319c15ed2f373bcca626cbb4361f87c8 (patch) | |
tree | 7c06b72cb24a50c9e9e98856bf6eeac5f285d000 /target-ppc | |
parent | 70b79849b84510604e46299672e663a703ad5a4b (diff) | |
download | qemu-edbe35e0319c15ed2f373bcca626cbb4361f87c8.tar.gz qemu-edbe35e0319c15ed2f373bcca626cbb4361f87c8.tar.bz2 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')
-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 } |