]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Move __adjust_pc out of line
authorMarc Zyngier <maz@kernel.org>
Thu, 6 May 2021 13:31:42 +0000 (14:31 +0100)
committerMarc Zyngier <maz@kernel.org>
Sat, 15 May 2021 09:27:59 +0000 (10:27 +0100)
commit619fd5cfbdc43696aae34dbc63f769a57c5e5cfd
tree88ea958d707d14ecbf768c226f6976aa26fb2fd9
parent494cd7429d839e2eb96d17c4a8184c9dac7cb2a6
KVM: arm64: Move __adjust_pc out of line

In order to make it easy to call __adjust_pc() from the EL1 code
(in the case of nVHE), rename it to __kvm_adjust_pc() and move
it out of line.

No expected functional change.

Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Tested-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: stable@vger.kernel.org # 5.11
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kvm/hyp/exception.c
arch/arm64/kvm/hyp/include/hyp/adjust_pc.h
arch/arm64/kvm/hyp/nvhe/switch.c
arch/arm64/kvm/hyp/vhe/switch.c