diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-14 04:21:52 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-06-11 00:23:04 +0200 |
commit | 4bd7466166b8c1b612c7f01a124b24ab2a0ace14 (patch) | |
tree | 75891417cf185f4ea58b7d60d3e5ebccb33c9e86 /hw/strongarm.c | |
parent | 3aaa8dfae955d7bec462cc4e2fce185ef6d41b5a (diff) |
arm_pic: Pass ARMCPU to arm_pic_init_cpu()
Pass it through to arm_pic_cpu_handler().
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Igor Mitsyanko <i.mitsyanko@samsung.com> (for exynos)
Diffstat (limited to 'hw/strongarm.c')
-rw-r--r-- | hw/strongarm.c | 2 |
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); |