]> git.proxmox.com Git - qemu.git/blobdiff - hw/ioapic.c
Remove io_index argument from cpu_register_io_memory()
[qemu.git] / hw / ioapic.c
index 83ac25e99df411b981915d6e19a86bf74903d884..b179e6eb298ee6e40a2f42af86239b10a2c755eb 100644 (file)
@@ -250,7 +250,7 @@ IOAPICState *ioapic_init(void)
     s = qemu_mallocz(sizeof(IOAPICState));
     ioapic_reset(s);
 
-    io_memory = cpu_register_io_memory(0, ioapic_mem_read,
+    io_memory = cpu_register_io_memory(ioapic_mem_read,
                                        ioapic_mem_write, s);
     cpu_register_physical_memory(0xfec00000, 0x1000, io_memory);