From 4bd7466166b8c1b612c7f01a124b24ab2a0ace14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Mon, 14 May 2012 04:21:52 +0200 Subject: arm_pic: Pass ARMCPU to arm_pic_init_cpu() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pass it through to arm_pic_cpu_handler(). Signed-off-by: Andreas Färber Acked-by: Peter Maydell Acked-by: Igor Mitsyanko (for exynos) --- hw/integratorcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/integratorcp.c') diff --git a/hw/integratorcp.c b/hw/integratorcp.c index e9270125fc..deacbf4d0d 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -476,7 +476,7 @@ static void integratorcp_init(ram_addr_t ram_size, qdev_init_nofail(dev); sysbus_mmio_map((SysBusDevice *)dev, 0, 0x10000000); - cpu_pic = arm_pic_init_cpu(&cpu->env); + cpu_pic = arm_pic_init_cpu(cpu); dev = sysbus_create_varargs("integrator_pic", 0x14000000, cpu_pic[ARM_PIC_CPU_IRQ], cpu_pic[ARM_PIC_CPU_FIQ], NULL); -- cgit v1.2.3