diff options
author | 2017-04-03 19:37:35 +0100 | |
---|---|---|
committer | 2017-04-09 07:49:18 -0700 | |
commit | 6c9ae25dfcaea32512fc27308c64e78159c46aeb (patch) | |
tree | d23f2e163b98dcb6468545cc7a6ab84c1002aafe /lib | |
parent | arm64: hyp-stub: Stop pointlessly clobbering lr (diff) | |
download | linux-dev-6c9ae25dfcaea32512fc27308c64e78159c46aeb.tar.xz linux-dev-6c9ae25dfcaea32512fc27308c64e78159c46aeb.zip |
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 'lib')
0 files changed, 0 insertions, 0 deletions