]> git.proxmox.com Git - qemu.git/blobdiff - linux-user/main.c
Use a dedicated function to request exit from execution loop
[qemu.git] / linux-user / main.c
index 2c1e4df6e5b8197e07c9b822d3ee6fe6e0ddfc0b..feb30361705355e6356ea41a19ec84c3de1be681 100644 (file)
@@ -200,7 +200,7 @@ static inline void start_exclusive(void)
     for (other = first_cpu; other; other = other->next_cpu) {
         if (other->running) {
             pending_cpus++;
-            cpu_interrupt(other, CPU_INTERRUPT_EXIT);
+            cpu_exit(other);
         }
     }
     if (pending_cpus > 1) {