aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
authorAndrew Morton <akpm@linux-foundation.org>2026-05-22 21:20:26 -0700
committerAndreas Larsson <andreas@gaisler.com>2026-06-12 13:55:59 +0200
commit1919c0e50000e9afb76dbbf4a1261ec3238e3ae4 (patch)
tree32624091b3da45a0b00d3a26895b54931940b64d /arch
parent5b0eee4cd812bd6547eea393cb9b5c0322f26c88 (diff)
downloadath-1919c0e50000e9afb76dbbf4a1261ec3238e3ae4.tar.gz
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 <asm/asm-prototypes.h>? so I added it. Cc: David S. Miller <davem@davemloft.net> Cc: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andreas Larsson <andreas@gaisler.com> Tested-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/include/asm/asm-prototypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/asm-prototypes.h b/arch/sparc/include/asm/asm-prototypes.h
index bbd1a8afaabf8..270c51017212a 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);