]> git.proxmox.com Git - qemu.git/blobdiff - target-openrisc/interrupt_helper.c
qemu-log: Remove qemu_log_try_set_file() and its users
[qemu.git] / target-openrisc / interrupt_helper.c
index 79f5afed440d80a47c670ce69801df404e58bc04..a176441b01e3339ae2e5dfe5832afcb2a162d25b 100644 (file)
@@ -23,7 +23,7 @@
 
 void HELPER(rfe)(CPUOpenRISCState *env)
 {
-    OpenRISCCPU *cpu = OPENRISC_CPU(ENV_GET_CPU(env));
+    OpenRISCCPU *cpu = openrisc_env_get_cpu(env);
 #ifndef CONFIG_USER_ONLY
     int need_flush_tlb = (cpu->env.sr & (SR_SM | SR_IME | SR_DME)) ^
                          (cpu->env.esr & (SR_SM | SR_IME | SR_DME));