aboutsummaryrefslogtreecommitdiff
path: root/hw/eccmemctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/eccmemctl.c')
-rw-r--r--hw/eccmemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c
index 07f5ef76ff..aa4218d184 100644
--- a/hw/eccmemctl.c
+++ b/hw/eccmemctl.c
@@ -334,7 +334,7 @@ void * ecc_init(target_phys_addr_t base, qemu_irq irq, uint32_t version)
ecc_io_memory);
}
register_savevm("ECC", base, 3, ecc_save, ecc_load, s);
- qemu_register_reset(ecc_reset, s);
+ qemu_register_reset(ecc_reset, 0, s);
ecc_reset(s);
return s;
}