]> git.proxmox.com Git - qemu.git/blobdiff - hw/dma.c
Use a dedicated function to request exit from execution loop
[qemu.git] / hw / dma.c
index e58ab6dd2382d72fb4b98f4b94f3bf8edf13e971..971c8d466fd62e0dd81513f8be5f8eaa5eff7c40 100644 (file)
--- a/hw/dma.c
+++ b/hw/dma.c
@@ -449,7 +449,7 @@ void DMA_schedule(int nchan)
 {
     CPUState *env = cpu_single_env;
     if (env)
-        cpu_interrupt(env, CPU_INTERRUPT_EXIT);
+        cpu_exit(env);
 }
 
 static void dma_reset(void *opaque)