diff options
author | David Brazdil <dbrazdil@google.com> | 2020-06-25 16:14:15 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-07-05 20:38:25 +0300 |
commit | d400c5b2025c9aeca76213d6bd4138ec39da5cef (patch) | |
tree | 5ef17c682735ecd0c478340ba8f601543e0963a9 /arch/arm64/kvm/hyp/vhe/switch.c | |
parent | 09cf57eba304246141367b95c89801fd2047ac96 (diff) | |
download | linux-d400c5b2025c9aeca76213d6bd4138ec39da5cef.tar.xz |
KVM: arm64: Split hyp/debug-sr.c to VHE/nVHE
debug-sr.c contains KVM's code for context-switching debug registers, with some
code shared between VHE/nVHE. These common routines are moved to a header file,
VHE-specific code is moved to vhe/debug-sr.c and nVHE-specific code to
nvhe/debug-sr.c.
Functions are slightly refactored to move code hidden behind `has_vhe()` checks
to the corresponding .c files.
Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200625131420.71444-11-dbrazdil@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp/vhe/switch.c')
0 files changed, 0 insertions, 0 deletions