KVM: arm64: Directly call VHE and non-VHE FPSIMD enabled functions
commitc16c1131fb1ccc70aac351111388bf23a97024ca
authorChristoffer Dall <christoffer.dall@linaro.org>
Fri, 4 Aug 2017 07:39:51 +0000 (4 09:39 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 10:53:19 +0000 (19 10:53 +0000)
tree6f1d664b89c94037bf9ae8b81194e610e1cea8c2
parentd5a21bcc29955c7df3fbd881b4c4229090331a5d
KVM: arm64: Directly call VHE and non-VHE FPSIMD enabled functions

There is no longer a need for an alternative to choose the right
function to tell us whether or not FPSIMD was enabled for the VM,
because we can simply can the appropriate functions directly from within
the _vhe and _nvhe run functions.

Reviewed-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/switch.c