summary refs log tree commit diff stats
path: root/hw/mcf_intc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mcf_intc.c')
-rw-r--r--hw/mcf_intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mcf_intc.c b/hw/mcf_intc.c
index ce378c2f28..e2912804fe 100644
--- a/hw/mcf_intc.c
+++ b/hw/mcf_intc.c
@@ -148,7 +148,7 @@ qemu_irq *mcf_intc_init(target_phys_addr_t base, CPUState *env)
     s->env = env;
     mcf_intc_reset(s);
 
-    iomemtype = cpu_register_io_memory(0, mcf_intc_readfn,
+    iomemtype = cpu_register_io_memory(mcf_intc_readfn,
                                        mcf_intc_writefn, s);
     cpu_register_physical_memory(base, 0x100, iomemtype);