diff --git a/qemu/target/sparc/win_helper.c b/qemu/target/sparc/win_helper.c index de7096c2..8fffde8c 100644 --- a/qemu/target/sparc/win_helper.c +++ b/qemu/target/sparc/win_helper.c @@ -71,7 +71,6 @@ void cpu_put_psr_raw(CPUSPARCState *env, target_ulong val) #if !defined(TARGET_SPARC64) env->psref = (val & PSR_EF) ? 1 : 0; env->psrpil = (val & PSR_PIL) >> 8; - env->psrs = (val & PSR_S) ? 1 : 0; env->psrps = (val & PSR_PS) ? 1 : 0; env->psret = (val & PSR_ET) ? 1 : 0; @@ -82,6 +81,7 @@ void cpu_put_psr_raw(CPUSPARCState *env, target_ulong val) #endif } +/* Called with BQL held */ void cpu_put_psr(CPUSPARCState *env, target_ulong val) { cpu_put_psr_raw(env, val);