diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-04-03 19:38:04 +0100 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-04-09 07:49:34 -0700 |
commit | 0b51c547fdb7ee05b6d65471785a1d899c8a667c (patch) | |
tree | 4174536093de2937f730e4a4ad0f92454b911460 /arch/arm64/kvm/hyp-init.S | |
parent | ecb5d61daaa2fc09235191926ea808e00e2e1c0c (diff) | |
download | linux-stable-0b51c547fdb7ee05b6d65471785a1d899c8a667c.tar.gz linux-stable-0b51c547fdb7ee05b6d65471785a1d899c8a667c.tar.bz2 linux-stable-0b51c547fdb7ee05b6d65471785a1d899c8a667c.zip |
arm64: 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: 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/arm64/kvm/hyp-init.S')
-rw-r--r-- | arch/arm64/kvm/hyp-init.S | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm64/kvm/hyp-init.S b/arch/arm64/kvm/hyp-init.S index 0ad34fd6d2fc..3734e6315cd7 100644 --- a/arch/arm64/kvm/hyp-init.S +++ b/arch/arm64/kvm/hyp-init.S @@ -124,12 +124,7 @@ __do_hyp_init: ENDPROC(__kvm_hyp_init) ENTRY(__kvm_handle_stub_hvc) - cmp x0, #HVC_GET_VECTORS - b.ne 1f - mrs x0, vbar_el2 - b exit - -1: cmp x0, #HVC_SOFT_RESTART + cmp x0, #HVC_SOFT_RESTART b.ne 1f /* This is where we're about to jump, staying at EL2 */ |