aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc/cpu.h')
-rw-r--r--target-sparc/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h
index 4170b5733d..b07e2afcf4 100644
--- a/target-sparc/cpu.h
+++ b/target-sparc/cpu.h
@@ -172,7 +172,7 @@ double cpu_put_fp64(uint64_t mant, uint16_t exp);
(env->psref? PSR_EF : 0) | \
(env->psrpil << 8) | \
(env->psrs? PSR_S : 0) | \
- (env->psrs? PSR_PS : 0) | \
+ (env->psrps? PSR_PS : 0) | \
(env->psret? PSR_ET : 0) | env->cwp)
#ifndef NO_CPU_IO_DEFS