summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/hyp/debug-sr.c
diff options
context:
space:
mode:
authorMarc Zyngier2016-01-28 14:44:07 +0100
committerMarc Zyngier2016-02-29 19:34:18 +0100
commit13720a56edbd8164fbfa251067dea9776e09f54b (patch)
treef2c2c34b3c6fb97b72b0702edfa6ff54346eec4a /arch/arm64/kvm/hyp/debug-sr.c
parentarm64: VHE: Add support for running Linux in EL2 mode (diff)
downloadkernel-qcow2-linux-13720a56edbd8164fbfa251067dea9776e09f54b.tar.gz
kernel-qcow2-linux-13720a56edbd8164fbfa251067dea9776e09f54b.tar.xz
kernel-qcow2-linux-13720a56edbd8164fbfa251067dea9776e09f54b.zip
arm64: KVM: Move kvm/hyp/hyp.h to include/asm/kvm_hyp.h
In order to be able to move code outside of kvm/hyp, we need to make the global hyp.h file accessible from a standard location. include/asm/kvm_hyp.h seems good enough. Acked-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/kvm/hyp/debug-sr.c')
-rw-r--r--arch/arm64/kvm/hyp/debug-sr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm64/kvm/hyp/debug-sr.c b/arch/arm64/kvm/hyp/debug-sr.c
index c9c1e97501a9..053cf8b057c1 100644
--- a/arch/arm64/kvm/hyp/debug-sr.c
+++ b/arch/arm64/kvm/hyp/debug-sr.c
@@ -19,9 +19,7 @@
#include <linux/kvm_host.h>
#include <asm/kvm_asm.h>
-#include <asm/kvm_mmu.h>
-
-#include "hyp.h"
+#include <asm/kvm_hyp.h>
#define read_debug(r,n) read_sysreg(r##n##_el1)
#define write_debug(v,r,n) write_sysreg(v, r##n##_el1)