KVM: arm64: fix __kvm_host_psci_cpu_entry() prototype
authorArnd Bergmann <arnd@arndb.de>
Mon, 24 Jul 2023 12:18:42 +0000 (14:18 +0200)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 26 Jul 2023 17:09:07 +0000 (17:09 +0000)
commit01b94b0f3922039f7d3e0d1eeb33b8891746b65f
tree28f03bcb895a6e803bcad6859e5d7b7f1ace9c4b
parent375110ab51dec5dcd077b8fa95075b2c67499119
KVM: arm64: fix __kvm_host_psci_cpu_entry() prototype

The kvm_host_psci_cpu_entry() function was renamed in order to add a wrapper around
it, but the prototype did not change, so now the missing-prototype warning came
back in W=1 builds:

arch/arm64/kvm/hyp/nvhe/psci-relay.c:203:28: error: no previous prototype for function '__kvm_host_psci_cpu_entry' [-Werror,-Wmissing-prototypes]
asmlinkage void __noreturn __kvm_host_psci_cpu_entry(bool is_cpu_on)

Fixes: dcf89d1111995 ("KVM: arm64: Add missing BTI instructions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230724121850.1386668-1-arnd@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/kvm_asm.h