]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - target-mips/op_helper.c
translate-all: Change cpu_restore_state() argument to CPUState
[thirdparty/qemu.git] / target-mips / op_helper.c
index c65350187f66e99403cdf5f2477fcce43e37ee0e..de5a22329a2f7981b184afa393205f7de23ee176 100644 (file)
@@ -48,7 +48,7 @@ static inline void QEMU_NORETURN do_raise_exception_err(CPUMIPSState *env,
 
     if (pc) {
         /* now we have a real cpu fault */
-        cpu_restore_state(env, pc);
+        cpu_restore_state(cs, pc);
     }
 
     cpu_loop_exit(cs);