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/exynos4210.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/exynos4210.c')
-rw-r--r-- | hw/exynos4210.c | 3 |
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. |