From 1919c0e50000e9afb76dbbf4a1261ec3238e3ae4 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 22 May 2026 21:20:26 -0700 Subject: [PATCH] sparc: add _mcount() prototype sparc64 defconfig told me WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. Is "_mcount" prototyped in ? so I added it. Cc: David S. Miller Cc: Andreas Larsson Signed-off-by: Andrew Morton Reviewed-by: Andreas Larsson Tested-by: Andreas Larsson Signed-off-by: Andreas Larsson --- arch/sparc/include/asm/asm-prototypes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/include/asm/asm-prototypes.h b/arch/sparc/include/asm/asm-prototypes.h index bbd1a8afaabf..270c51017212 100644 --- a/arch/sparc/include/asm/asm-prototypes.h +++ b/arch/sparc/include/asm/asm-prototypes.h @@ -25,6 +25,7 @@ void *memcpy(void *dest, const void *src, size_t n); void *memset(void *s, int c, size_t n); typedef int TItype __attribute__((mode(TI))); TItype __multi3(TItype a, TItype b); +void _mcount(void); s64 __ashldi3(s64, int); s64 __lshrdi3(s64, int);