aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-06-24 04:04:17 +0000
committerAlexander Graf <agraf@suse.de>2012-06-24 22:52:11 +0200
commit975e5463584211e6dd6eff3c8317ff516b8e983e (patch)
treef6fd6b3ee5dda520a30e217e54d7d51d6ee4c91b /target-ppc
parent3c01ae0ea29915d165c384d0bd1cbafcf4364a4d (diff)
downloadqemu-975e5463584211e6dd6eff3c8317ff516b8e983e.zip
qemu-975e5463584211e6dd6eff3c8317ff516b8e983e.tar.gz
qemu-975e5463584211e6dd6eff3c8317ff516b8e983e.tar.bz2
target-ppc: Fix build with --enable-debug
The order of the arguments was wrong (copy+paste error). Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 73ee74b..91eb7a0 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -5794,7 +5794,7 @@ static void gen_mtdcrux(DisasContext *ctx)
{
/* NIP cannot be restored if the memory exception comes from an helper */
gen_update_nip(ctx, ctx->nip - 4);
- gen_helper_store_dcr(cpu_gpr[rA(ctx->opcode)], cpu_env,
+ gen_helper_store_dcr(cpu_env, cpu_gpr[rA(ctx->opcode)],
cpu_gpr[rS(ctx->opcode)]);
/* Note: Rc update flag set leads to undefined state of Rc0 */
}