summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/scs.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 18:06:29 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2023-05-25 18:44:01 +0200
commitaea197160d7426d876a8040f370373cf412e3ad6 (patch)
tree47bf4eaeab41ce9fdef4509fc39d0de4228ee686 /arch/arm64/include/asm/scs.h
parentarm64: xor-neon: mark xor_arm64_neon_*() static (diff)
downloadlinux-aea197160d7426d876a8040f370373cf412e3ad6.tar.xz
linux-aea197160d7426d876a8040f370373cf412e3ad6.zip
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>
Diffstat (limited to 'arch/arm64/include/asm/scs.h')
-rw-r--r--arch/arm64/include/asm/scs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/scs.h b/arch/arm64/include/asm/scs.h
index 13df982a0808..3fdae5fe3142 100644
--- a/arch/arm64/include/asm/scs.h
+++ b/arch/arm64/include/asm/scs.h
@@ -73,6 +73,7 @@ static inline void dynamic_scs_init(void) {}
#endif
int scs_patch(const u8 eh_frame[], int size);
+asmlinkage void scs_patch_vmlinux(void);
#endif /* __ASSEMBLY __ */