Skip to content
Commit 01b94b0f authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Oliver Upton
Browse files

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: dcf89d11 ("KVM: arm64: Add missing BTI instructions")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230724121850.1386668-1-arnd@kernel.org


Signed-off-by: default avatarOliver Upton <oliver.upton@linux.dev>
parent 375110ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment