From: Guo Ren (Alibaba DAMO Academy) Date: Sun, 19 Oct 2025 10:55:13 +0000 (-0400) Subject: csky: Remove compile warning for CONFIG_SMP X-Git-Tag: v6.19-rc1~40^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=817d21578d51e801df58ab012654486a71073074;p=thirdparty%2Flinux.git csky: Remove compile warning for CONFIG_SMP When CONFIG_SMP is enabled, there is a compile warning: arch/csky/kernel/smp.c:242:6: warning: no previous prototype for 'csky_start_secondary' [-Wmissing-prototypes] 242 | void csky_start_secondary(void) | ^~~~~~~~~~~~~~~~~~~~ Add a similar prototype with csky_start in sections.h. Signed-off-by: Guo Ren (Alibaba DAMO Academy) Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap --- diff --git a/arch/csky/include/asm/sections.h b/arch/csky/include/asm/sections.h index 83e82b7c0f6c4..ee5cdf226a9b1 100644 --- a/arch/csky/include/asm/sections.h +++ b/arch/csky/include/asm/sections.h @@ -8,5 +8,6 @@ extern char _start[]; asmlinkage void csky_start(unsigned int unused, void *dtb_start); +asmlinkage void csky_start_secondary(void); #endif /* __ASM_SECTIONS_H */