]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target/openrisc/interrupt_helper.c
target/openrisc: Keep SR_F in a separate variable
[mirror_qemu.git] / target / openrisc / interrupt_helper.c
index a6d4df3ce256ff7891c62e4bdb1a73ff1829872c..c7fa97a56596d049e847ea9c0db039e2e69cbc39 100644 (file)
@@ -33,7 +33,7 @@ void HELPER(rfe)(CPUOpenRISCState *env)
 #endif
     cpu->env.pc = cpu->env.epcr;
     cpu->env.npc = cpu->env.epcr;
-    cpu->env.sr = cpu->env.esr;
+    cpu_set_sr(&cpu->env, cpu->env.esr);
     cpu->env.lock_addr = -1;
 
 #ifndef CONFIG_USER_ONLY