aboutsummaryrefslogtreecommitdiff
path: root/hw/vexpress.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-14 04:21:52 +0200
committerAndreas Färber <afaerber@suse.de>2012-06-11 00:23:04 +0200
commit4bd7466166b8c1b612c7f01a124b24ab2a0ace14 (patch)
tree75891417cf185f4ea58b7d60d3e5ebccb33c9e86 /hw/vexpress.c
parent3aaa8dfae955d7bec462cc4e2fce185ef6d41b5a (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/vexpress.c')
-rw-r--r--hw/vexpress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vexpress.c b/hw/vexpress.c
index 4797c6ab38..8072c5ada9 100644
--- a/hw/vexpress.c
+++ b/hw/vexpress.c
@@ -181,7 +181,7 @@ static void a9_daughterboard_init(const VEDBoardInfo *daughterboard,
fprintf(stderr, "Unable to find CPU definition\n");
exit(1);
}
- irqp = arm_pic_init_cpu(&cpu->env);
+ irqp = arm_pic_init_cpu(cpu);
cpu_irq[n] = irqp[ARM_PIC_CPU_IRQ];
}
@@ -280,7 +280,7 @@ static void a15_daughterboard_init(const VEDBoardInfo *daughterboard,
fprintf(stderr, "Unable to find CPU definition\n");
exit(1);
}
- irqp = arm_pic_init_cpu(&cpu->env);
+ irqp = arm_pic_init_cpu(cpu);
cpu_irq[n] = irqp[ARM_PIC_CPU_IRQ];
}