aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorOliver Upton <oupton@google.com>2022-05-04 03:24:36 +0000
committerMarc Zyngier <maz@kernel.org>2022-05-04 09:28:44 +0100
commit1e5794295c5dbfcc31cf5de840c9e095ae50efb7 (patch)
tree99500da874ec4a8ad8e14a4f63cdb213b5d97ffc /arch/arm64/include/asm/kvm_host.h
parentKVM: arm64: Don't depend on fallthrough to hide SYSTEM_RESET2 (diff)
downloadlinux-dev-1e5794295c5dbfcc31cf5de840c9e095ae50efb7.tar.xz
linux-dev-1e5794295c5dbfcc31cf5de840c9e095ae50efb7.zip
KVM: arm64: Dedupe vCPU power off helpers
vcpu_power_off() and kvm_psci_vcpu_off() are equivalent; rename the former and replace all callsites to the latter. No functional change intended. Signed-off-by: Oliver Upton <oupton@google.com> Reviewed-by: Reiji Watanabe <reijiw@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220504032446.4133305-3-oupton@google.com
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r--arch/arm64/include/asm/kvm_host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h
index 94a27a7520f4..490cd7f3a905 100644
--- a/arch/arm64/include/asm/kvm_host.h
+++ b/arch/arm64/include/asm/kvm_host.h
@@ -841,4 +841,6 @@ void __init kvm_hyp_reserve(void);
static inline void kvm_hyp_reserve(void) { }
#endif
+void kvm_arm_vcpu_power_off(struct kvm_vcpu *vcpu);
+
#endif /* __ARM64_KVM_HOST_H__ */