]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: Account for irqchip_cell_exit being called before irqchip_init
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 21 Nov 2014 20:00:28 +0000 (21:00 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 8 Jan 2015 12:01:23 +0000 (13:01 +0100)
commit3e596af97320898b6fd1bf69d7c5e37166767fab
treef17a399cbad239721c75c21c00dcffd6404b6b0c
parent5e38b27ddd9cbd878952991870ea0995d6263291
arm: Account for irqchip_cell_exit being called before irqchip_init

If the hypervisor setup procedures fails before irqchip_init was called,
arch_shutdown will still invoke irqchip_cell_exit. If we run this
function, we'll crash latest when trying to access the not yet mapped
GIC. Leave irqchip_cell_exit early in this case.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/irqchip.c