aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc/helper.c')
-rw-r--r--target-sparc/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c
index e6891ccbb1..82a3a4ec90 100644
--- a/target-sparc/helper.c
+++ b/target-sparc/helper.c
@@ -94,7 +94,7 @@ void tlb_fill(target_ulong addr, int is_write, int is_user, void *retaddr)
if (tb) {
/* the PC is inside the translated code. It means that we have
a virtual CPU fault */
- cpu_restore_state(tb, env, pc, NULL);
+ cpu_restore_state(tb, env, pc, (void *)T2);
}
}
cpu_loop_exit();