aboutsummaryrefslogtreecommitdiff
path: root/hw/exynos4210.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/exynos4210.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/exynos4210.c')
-rw-r--r--hw/exynos4210.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/exynos4210.c b/hw/exynos4210.c
index 7dc37871f3..dd14d01b01 100644
--- a/hw/exynos4210.c
+++ b/hw/exynos4210.c
@@ -112,8 +112,9 @@ Exynos4210State *exynos4210_init(MemoryRegion *system_mem,
fprintf(stderr, "Unable to find CPU %d definition\n", n);
exit(1);
}
+
/* Create PIC controller for each processor instance */
- irqp = arm_pic_init_cpu(&s->cpu[n]->env);
+ irqp = arm_pic_init_cpu(s->cpu[n]);
/*
* Get GICs gpio_in cpu_irq to connect a combiner to them later.