diff options
author | Andreas Färber | 2012-05-14 04:21:52 +0200 |
---|---|---|
committer | Andreas Färber | 2012-06-11 00:23:04 +0200 |
commit | 4bd7466166b8c1b612c7f01a124b24ab2a0ace14 (patch) | |
tree | 75891417cf185f4ea58b7d60d3e5ebccb33c9e86 /hw/omap1.c | |
parent | arm_boot: Pass ARMCPU to arm_load_kernel() (diff) | |
download | qemu-4bd7466166b8c1b612c7f01a124b24ab2a0ace14.tar.gz qemu-4bd7466166b8c1b612c7f01a124b24ab2a0ace14.tar.xz qemu-4bd7466166b8c1b612c7f01a124b24ab2a0ace14.zip |
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/omap1.c')
-rw-r--r-- | hw/omap1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap1.c b/hw/omap1.c index a997d300b5..ad60cc4919 100644 --- a/hw/omap1.c +++ b/hw/omap1.c @@ -3854,7 +3854,7 @@ struct omap_mpu_state_s *omap310_mpu_init(MemoryRegion *system_memory, omap_clkm_init(system_memory, 0xfffece00, 0xe1008000, s); - cpu_irq = arm_pic_init_cpu(&s->cpu->env); + cpu_irq = arm_pic_init_cpu(s->cpu); s->ih[0] = qdev_create(NULL, "omap-intc"); qdev_prop_set_uint32(s->ih[0], "size", 0x100); qdev_prop_set_ptr(s->ih[0], "clk", omap_findclk(s, "arminth_ck")); |