aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/kvm_hyp.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-06-30 18:40:51 +0100
committerChristoffer Dall <christoffer.dall@linaro.org>2016-07-03 23:41:27 +0200
commit6c41a413fd44af8eae2949869d4d57ce681a0c30 (patch)
treedd5393c1fb009a4dfcd206c2eae9d3f82212f011 /arch/arm/include/asm/kvm_hyp.h
parentarm/arm64: KVM: Check that IDMAP doesn't intersect with VA range (diff)
downloadlinux-dev-6c41a413fd44af8eae2949869d4d57ce681a0c30.tar.xz
linux-dev-6c41a413fd44af8eae2949869d4d57ce681a0c30.zip
arm/arm64: Get rid of KERN_TO_HYP
We have both KERN_TO_HYP and kern_hyp_va, which do the exact same thing. Let's standardize on the latter. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/kvm_hyp.h')
-rw-r--r--arch/arm/include/asm/kvm_hyp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/kvm_hyp.h b/arch/arm/include/asm/kvm_hyp.h
index e38fce2270ac..6eaff28f2ff3 100644
--- a/arch/arm/include/asm/kvm_hyp.h
+++ b/arch/arm/include/asm/kvm_hyp.h
@@ -25,8 +25,6 @@
#define __hyp_text __section(.hyp.text) notrace
-#define kern_hyp_va(v) (v)
-
#define __ACCESS_CP15(CRn, Op1, CRm, Op2) \
"mrc", "mcr", __stringify(p15, Op1, %0, CRn, CRm, Op2), u32
#define __ACCESS_CP15_64(Op1, CRm) \