]> git.proxmox.com Git - mirror_qemu.git/blobdiff - user-exec.c
cpu-exec: Change cpu_resume_from_signal() argument to CPUState
[mirror_qemu.git] / user-exec.c
index 75c6d5486bb44113ae936ac442bd9a05fe435b91..3b795c1550c31545e1675f65965096e30285a5ba 100644 (file)
@@ -52,9 +52,8 @@ static void exception_action(CPUArchState *env1)
 /* exit the current TB from a signal handler. The host registers are
    restored in a state compatible with the CPU emulator
  */
-void cpu_resume_from_signal(CPUArchState *env1, void *puc)
+void cpu_resume_from_signal(CPUState *cpu, void *puc)
 {
-    CPUState *cpu = ENV_GET_CPU(env1);
 #ifdef __linux__
     struct ucontext *uc = puc;
 #elif defined(__OpenBSD__)