summaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/init.S
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2017-04-03 20:38:03 +0200
committerChristoffer Dall <cdall@linaro.org>2017-04-09 16:49:34 +0200
commitecb5d61daaa2fc09235191926ea808e00e2e1c0c (patch)
treefba7688c744a16d507e29c8f7d8b9fa6e9fb77e7 /arch/arm/kvm/init.S
parentARM: decompressor: Remove __hyp_get_vectors usage (diff)
downloadlinux-ecb5d61daaa2fc09235191926ea808e00e2e1c0c.tar.xz
linux-ecb5d61daaa2fc09235191926ea808e00e2e1c0c.zip
ARM: hyp-stub/KVM: Kill __hyp_get_vectors
Nobody is using __hyp_get_vectors anymore, so let's remove both implementations (hyp-stub and KVM). Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <cdall@linaro.org>
Diffstat (limited to 'arch/arm/kvm/init.S')
-rw-r--r--arch/arm/kvm/init.S7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/kvm/init.S b/arch/arm/kvm/init.S
index e53360dceb19..87bcd7ae4552 100644
--- a/arch/arm/kvm/init.S
+++ b/arch/arm/kvm/init.S
@@ -122,12 +122,7 @@ __do_hyp_init:
eret
ENTRY(__kvm_handle_stub_hvc)
- cmp r0, #HVC_GET_VECTORS
- bne 1f
- mrc p15, 4, r0, c12, c0, 0 @ get HVBAR
- b exit
-
-1: cmp r0, #HVC_SOFT_RESTART
+ cmp r0, #HVC_SOFT_RESTART
bne 1f
/* The target is expected in r1 */