diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-04-03 21:37:35 +0300 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-04-09 17:49:18 +0300 |
commit | 6c9ae25dfcaea32512fc27308c64e78159c46aeb (patch) | |
tree | d23f2e163b98dcb6468545cc7a6ab84c1002aafe /arch/arm64/kernel/hyp-stub.S | |
parent | 50d912cc3e5055c14e13a8e7de5c078b01a2e2b7 (diff) | |
download | linux-6c9ae25dfcaea32512fc27308c64e78159c46aeb.tar.xz |
arm64: KVM: Move lr save/restore to do_el2_call
At the moment, we only save/restore lr if on VHE, as we rely only
the EL1 code to have preserved it in the non-VHE case.
As we're about to get rid of the latter, let's move the save/restore
code to the do_el2_call macro, unifying both code paths.
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/kernel/hyp-stub.S')
0 files changed, 0 insertions, 0 deletions