diff options
author | David Brazdil <dbrazdil@google.com> | 2020-06-25 16:14:13 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-07-05 20:38:17 +0300 |
commit | e03fa29164ec1db1a81dc0168d0017a9e0366c7c (patch) | |
tree | 8d8081dd9cc6b4189c1607f18d155e79e302f55d /arch/arm64/kvm/hyp/vhe/Makefile | |
parent | 208243c752a7eeef4236f7b7d67e806ee356e3f8 (diff) | |
download | linux-e03fa29164ec1db1a81dc0168d0017a9e0366c7c.tar.xz |
KVM: arm64: Duplicate hyp/tlb.c for VHE/nVHE
tlb.c contains code for flushing the TLB, with code shared between VHE/nVHE.
Because common code is small, duplicate tlb.c and specialize each copy for
VHE/nVHE.
Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200625131420.71444-9-dbrazdil@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp/vhe/Makefile')
-rw-r--r-- | arch/arm64/kvm/hyp/vhe/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/hyp/vhe/Makefile b/arch/arm64/kvm/hyp/vhe/Makefile index 323029e02b4e..704140fc5d66 100644 --- a/arch/arm64/kvm/hyp/vhe/Makefile +++ b/arch/arm64/kvm/hyp/vhe/Makefile @@ -6,7 +6,7 @@ asflags-y := -D__KVM_VHE_HYPERVISOR__ ccflags-y := -D__KVM_VHE_HYPERVISOR__ -obj-y := ../hyp-entry.o +obj-y := tlb.o ../hyp-entry.o # KVM code is run at a different exception code with a different map, so # compiler instrumentation that inserts callbacks or checks into the code may |