From a08d43677f87a19daa653774d3c6f71855e23178 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Sat, 27 Jun 2009 09:25:07 +0200 Subject: Revert "Introduce reset notifier order" This reverts commit 8217606e6edb49591b4a6fd5a0d1229cebe470a9 (and updates later added users of qemu_register_reset), we solved the problem it originally addressed less invasively. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori --- 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 c8ed6b0..b95407b 100644 --- a/hw/dma.c +++ b/hw/dma.c @@ -493,7 +493,7 @@ static void dma_init2(struct dma_cont *d, int base, int dshift, register_ioport_read (base + ((i + 8) << dshift), 1, 1, read_cont, d); } - qemu_register_reset(dma_reset, 0, d); + qemu_register_reset(dma_reset, d); dma_reset(d); for (i = 0; i < ARRAY_SIZE (d->regs); ++i) { d->regs[i].transfer_handler = dma_phony_handler; -- cgit v1.1