summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/mcount.S
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2023-05-11 22:53:08 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2023-06-13 04:48:57 +0200
commit338d9150900d39530d3b49a446ef68d28d98e377 (patch)
tree34764d16bab960a473953e03ced3bbf7e360006f /arch/xtensa/kernel/mcount.S
parentxtensa: only build __strncpy_user with CONFIG_ARCH_HAS_STRNCPY_FROM_USER (diff)
downloadlinux-338d9150900d39530d3b49a446ef68d28d98e377.tar.xz
linux-338d9150900d39530d3b49a446ef68d28d98e377.zip
xtensa: add asm-prototypes.h
Move assembly source prototypes from xtensa_ksyms.c to asm/asm-prototypes.h, move corresponding EXPORT_SYMBOLs to the assembly sources and enable HAVE_ASM_MODVERSIONS for xtensa. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel/mcount.S')
-rw-r--r--arch/xtensa/kernel/mcount.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/mcount.S b/arch/xtensa/kernel/mcount.S
index 51daaf4e0b82..309b3298258f 100644
--- a/arch/xtensa/kernel/mcount.S
+++ b/arch/xtensa/kernel/mcount.S
@@ -78,6 +78,7 @@ ENTRY(_mcount)
#error Unsupported Xtensa ABI
#endif
ENDPROC(_mcount)
+EXPORT_SYMBOL(_mcount)
ENTRY(ftrace_stub)
abi_entry_default