diff options
author | Andre Przywara <andre.przywara@arm.com> | 2017-11-17 12:58:21 -0500 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2017-11-29 10:46:10 -0500 |
commit | 285a90e36b138b707c4a9850f2500774b7191c99 (patch) | |
tree | 6c230122f28c33255833360966915a254f2c4828 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ec6449a9c2296b1c04f6219f7473e0c2fedecfed (diff) |
KVM: arm/arm64: VGIC: extend !vgic_is_initialized guard
Commit f39d16cbabf9 ("KVM: arm/arm64: Guard kvm_vgic_map_is_active against
!vgic_initialized") introduced a check whether the VGIC has been
initialized before accessing the spinlock and the VGIC data structure.
However the vgic_get_irq() call in the variable declaration sneaked
through the net, so lets make sure that this also gets called only after
we actually allocated the arrays this function accesses.
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions