commit | 6c9ae25dfcaea32512fc27308c64e78159c46aeb | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Mon Apr 03 19:37:35 2017 +0100 |
committer | Christoffer Dall <cdall@linaro.org> | Sun Apr 09 07:49:18 2017 -0700 |
tree | d23f2e163b98dcb6468545cc7a6ab84c1002aafe | |
parent | 50d912cc3e5055c14e13a8e7de5c078b01a2e2b7 [diff] |
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>