[patch 1/1] sparc: add _mcount() prototype
Andrew Morton <[email protected]> Fri, 22 May 2026 21:25:35 -0700
| Newsgroups | org.kernel.vger.sparclinux |
|---|---|
| Message-ID | <[email protected]> |
From: Andrew Morton <[email protected]> Subject: sparc: add _mcount() prototype Date: Fri May 22 09:20:26 PM PDT 2026 sparc64 defconfig told me WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. Is "_mcount" prototyped in <asm/asm-prototypes.h>? so I added it. BTW, altering arch/sparc/include/asm/asm-prototypes.h then running `make' doesn't compile anything, so there's a missing dependency somewhere? Cc: "David S. Miller" <[email protected]> Cc: Andreas Larsson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> --- arch/sparc/include/asm/asm-prototypes.h | 1 + 1 file changed, 1 insertion(+) --- a/arch/sparc/include/asm/asm-prototypes.h~sparc-add-_mcount-prototype +++ a/arch/sparc/include/asm/asm-prototypes.h @@ -25,6 +25,7 @@ void *memcpy(void *dest, const void *src 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); _