KVM: arm64: Rewrite sysreg alternatives to static keys
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 10 Oct 2017 20:01:06 +0000 (22:01 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 10:53:14 +0000 (10:53 +0000)
commit2b88104467e7742d30134f595c19e943f9c33308
tree91e4494e857c075d11d941ea0381928d655d44fd
parent060701f04ace30d79ee76143d37beb4fb754c3e7
KVM: arm64: Rewrite sysreg alternatives to static keys

As we are about to move calls around in the sysreg save/restore logic,
let's first rewrite the alternative function callers, because it is
going to make the next patches much easier to read.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/hyp/sysreg-sr.c