summaryrefslogtreecommitdiff
path: root/arch/arm/kvm/init.S
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2017-04-03 19:38:03 +0100
committerChristoffer Dall <cdall@linaro.org>2017-04-09 07:49:34 -0700
commitecb5d61daaa2fc09235191926ea808e00e2e1c0c (patch)
treefba7688c744a16d507e29c8f7d8b9fa6e9fb77e7 /arch/arm/kvm/init.S
parent4897e36c8d37fe508a423d6d15a635aba2557b4e (diff)
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 */