diff options
author | Will Deacon <will@kernel.org> | 2020-11-13 11:38:39 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-11-16 10:40:17 +0000 |
commit | de5bcdb48498abeb019ae075d139850c52661627 (patch) | |
tree | 22f9171a9432d59c28e2f61ea0be2d3df2d0fb5e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8934c8454064757efd8d3fb0a729db7eb2d0e5f5 (diff) |
KVM: arm64: Tidy up kvm_map_vector()
The bulk of the work in kvm_map_vector() is conditional on the
ARM64_HARDEN_EL2_VECTORS capability, so return early if that is not set
and make the code a bit easier to read.
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20201113113847.21619-3-will@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions