diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-24 18:03:11 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-24 18:03:11 +0000 |
commit | d9f75a4eb449c96dd47731a4d6f1619f3c23b5e7 (patch) | |
tree | 22c64ca0a8c20130aeca278967aec186212a3b6f /hw | |
parent | 96248fd89093579dd7257bda3357a28d3c848bba (diff) |
qemu: create helper for event notification (Marcelo Tosatti)
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7236 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/mac_dbdma.c | 4 |
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 |