arm64: add scs_patch_vmlinux prototype
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 16:06:29 +0000 (18:06 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 25 May 2023 16:44:01 +0000 (17:44 +0100)
commitaea197160d7426d876a8040f370373cf412e3ad6
tree47bf4eaeab41ce9fdef4509fc39d0de4228ee686
parent320a93d4df48a378ebf923639fa62770676b80db
arm64: add scs_patch_vmlinux prototype

scs_patch_vmlinux() is only called from assembler code, so there
is no prototype, but adding one avoids this warning:

arch/arm64/kernel/patch-scs.c:254:24: error: no previous prototype for function 'scs_patch_vmlinux' [-Werror,-Wmissing-prototypes]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20230516160642.523862-3-arnd@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/scs.h