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)
commit603d2bdaa57e48a33d57eeb88971b88fbe5875d6
treea2fe55c4eb971c4040c651ff51ad094a9bb6c4cf
parent7db21530479f071ee0e0a4d5fcf5e6bc6c0352ba
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