From 3098dba01c7daab60762b6f6624ea88c0d6cb65a Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sat, 7 Mar 2009 21:28:24 +0000 Subject: Use a dedicated function to request exit from execution loop Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6762 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/dma.c') diff --git a/hw/dma.c b/hw/dma.c index e58ab6d..971c8d4 100644 --- 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) -- cgit v1.1