]> git.proxmox.com Git - mirror_qemu.git/blobdiff - exec.c
cpu: Pass CPUState to cpu_interrupt()
[mirror_qemu.git] / exec.c
diff --git a/exec.c b/exec.c
index ae5a4b4430cbc50dbd00a06e846c656df2bded88..c5e65a9380a554faf98c4538faf2c420798d7224 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -1467,7 +1467,7 @@ static void check_watchpoint(int offset, int len_mask, int flags)
         /* We re-entered the check after replacing the TB. Now raise
          * the debug interrupt so that is will trigger after the
          * current instruction. */
-        cpu_interrupt(env, CPU_INTERRUPT_DEBUG);
+        cpu_interrupt(ENV_GET_CPU(env), CPU_INTERRUPT_DEBUG);
         return;
     }
     vaddr = (env->mem_io_vaddr & TARGET_PAGE_MASK) + offset;