]> git.proxmox.com Git - qemu.git/commitdiff
target-ppc: Fix build with --enable-debug
authorStefan Weil <sw@weilnetz.de>
Sun, 24 Jun 2012 04:04:17 +0000 (04:04 +0000)
committerAlexander Graf <agraf@suse.de>
Sun, 24 Jun 2012 20:52:11 +0000 (22:52 +0200)
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>
target-ppc/translate.c

index 73ee74be218077515a3f98c57046d805f32458ba..91eb7a062c5dd578792ca12ab0911162c3a4796b 100644 (file)
@@ -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 */
 }