diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2017-08-04 09:50:25 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-03-19 13:53:19 +0300 |
commit | d5a21bcc29955c7df3fbd881b4c4229090331a5d (patch) | |
tree | ab02bfb451f4b04e74de22949effe9725acff6f4 /scripts/coccicheck | |
parent | b9f8ca4db409c6cd24218bfc90eafe8a0df42927 (diff) | |
download | linux-d5a21bcc29955c7df3fbd881b4c4229090331a5d.tar.xz |
KVM: arm64: Move common VHE/non-VHE trap config in separate functions
As we are about to be more lazy with some of the trap configuration
register read/writes for VHE systems, move the logic that is currently
shared between VHE and non-VHE into a separate function which can be
called from either the world-switch path or from vcpu_load/vcpu_put.
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions