Succeeding i8259 conversion to ISA requires this.

Signed-off-by: Avi Kivity <a...@redhat.com>
---
 hw/mips_jazz.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c
index e1ac147..2b911c7 100644
--- a/hw/mips_jazz.c
+++ b/hw/mips_jazz.c
@@ -181,8 +181,8 @@ static void mips_jazz_init(MemoryRegion *address_space,
     memory_region_add_subregion(address_space, 0x8000d000, dma_dummy);
 
     /* ISA devices */
-    i8259 = i8259_init(env->irq[4]);
     isa_bus_new(NULL, address_space_io);
+    i8259 = i8259_init(env->irq[4]);
     isa_bus_irqs(i8259);
     cpu_exit_irq = qemu_allocate_irqs(cpu_request_exit, NULL, 1);
     DMA_init(0, cpu_exit_irq);
-- 
1.7.6.3


Reply via email to