2023-06-09 15:41:15

by Max Filippov

[permalink] [raw]
Subject: [PATCH] xtensa: drop EXPORT_SYMBOL for common_exception_return

common_exception_return used to be referenced from the oprofile code,
but since oprofile support removal in the commit
a848bf1d9ef1 ("arch: xtensa: Remove CONFIG_OPROFILE support")
it is no longer supposed to be used by modules.
Drop EXPORT_SYMBOL for common_exception_return.

Signed-off-by: Max Filippov <[email protected]>
---
arch/xtensa/kernel/xtensa_ksyms.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c
index 17a7ef86fd0d..a9aa90c995cd 100644
--- a/arch/xtensa/kernel/xtensa_ksyms.c
+++ b/arch/xtensa/kernel/xtensa_ksyms.c
@@ -110,9 +110,6 @@ EXPORT_SYMBOL(__invalidate_icache_range);
// FIXME EXPORT_SYMBOL(screen_info);
#endif

-extern long common_exception_return;
-EXPORT_SYMBOL(common_exception_return);
-
#ifdef CONFIG_FUNCTION_TRACER
EXPORT_SYMBOL(_mcount);
#endif
--
2.30.2