]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Share context save and restore macros
authorAndrew Scull <ascull@google.com>
Tue, 15 Sep 2020 10:46:35 +0000 (11:46 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 15 Sep 2020 17:39:03 +0000 (18:39 +0100)
commitf5bcb076b39b7040279fcdff42d1866abddfdbc3
treea2fe55c4eb971c4040c651ff51ad094a9bb6c4cf
parente874e0e66990d7a44239711bc13c5cc64104af38
KVM: arm64: Share context save and restore macros

To avoid duplicating the context save and restore macros, move them into
a shareable header.

Signed-off-by: Andrew Scull <ascull@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200915104643.2543892-12-ascull@google.com
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kvm/hyp/entry.S