summary refs log tree commit diff stats
path: root/target-sparc/op_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc/op_helper.c')
-rw-r--r--target-sparc/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index 33d46a4c04..18a00d4cea 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -372,7 +372,7 @@ void cpu_set_cwp(CPUState *env1, int new_cwp)
 
 static target_ulong get_psr(void)
 {
-    helper_compute_psr();
+    helper_compute_psr(env);
 
 #if !defined (TARGET_SPARC64)
     return env->version | (env->psr & PSR_ICC) |