diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-02-06 17:56:13 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-16 20:22:55 +0100 |
commit | 2cfe8929f6247dbee8def7e94f334909fe5ac084 (patch) | |
tree | 6d5bf7ac032c50f66248b39768ad3058ec25725e /arch/arm/include | |
parent | 98be7165d9f71f5df9802548b7d8ab2cf6ccb211 (diff) |
arm/arm64: KVM: Turn kvm_psci_version into a static inline
Commit a4097b351118 upstream.
We're about to need kvm_psci_version in HYP too. So let's turn it
into a static inline, and pass the kvm structure as a second
parameter (so that HYP can do a kern_hyp_va on it).
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/include')
0 files changed, 0 insertions, 0 deletions