aboutsummaryrefslogtreecommitdiff
path: root/hw/sbi.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sbi.c')
-rw-r--r--hw/sbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sbi.c b/hw/sbi.c
index 80de8c3ed5..32c8fa9446 100644
--- a/hw/sbi.c
+++ b/hw/sbi.c
@@ -149,7 +149,7 @@ void *sbi_init(target_phys_addr_t addr, qemu_irq **irq, qemu_irq **cpu_irq,
cpu_register_physical_memory(addr, SBI_SIZE, sbi_io_memory);
register_savevm("sbi", addr, 1, sbi_save, sbi_load, s);
- qemu_register_reset(sbi_reset, 0, s);
+ qemu_register_reset(sbi_reset, s);
*irq = qemu_allocate_irqs(sbi_set_irq, s, 32);
*cpu_irq = qemu_allocate_irqs(sbi_set_timer_irq_cpu, s, MAX_CPUS);
sbi_reset(s);