summary refs log tree commit diff stats
path: root/hw/mac_dbdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mac_dbdma.c')
-rw-r--r--hw/mac_dbdma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/mac_dbdma.c b/hw/mac_dbdma.c
index b8e4b128d4..e863980d9c 100644
--- a/hw/mac_dbdma.c
+++ b/hw/mac_dbdma.c
@@ -651,9 +651,7 @@ void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq,
 
 void DBDMA_schedule(void)
 {
-    CPUState *env = cpu_single_env;
-    if (env)
-        cpu_exit(env);
+    qemu_notify_event();
 }
 
 static void