aboutsummaryrefslogtreecommitdiff
path: root/hw/strongarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/strongarm.c')
-rw-r--r--hw/strongarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/strongarm.c b/hw/strongarm.c
index 38b1d0c1e0..7150eeb2db 100644
--- a/hw/strongarm.c
+++ b/hw/strongarm.c
@@ -1574,7 +1574,7 @@ StrongARMState *sa1110_init(MemoryRegion *sysmem,
vmstate_register_ram_global(&s->sdram);
memory_region_add_subregion(sysmem, SA_SDCS0, &s->sdram);
- pic = arm_pic_init_cpu(&s->cpu->env);
+ pic = arm_pic_init_cpu(s->cpu);
s->pic = sysbus_create_varargs("strongarm_pic", 0x90050000,
pic[ARM_PIC_CPU_IRQ], pic[ARM_PIC_CPU_FIQ], NULL);