xtensa: drop EXPORT_SYMBOL for common_exception_return

Message ID 20230609152933.1911296-1-jcmvbkbc@gmail.com
State New
Headers
Series xtensa: drop EXPORT_SYMBOL for common_exception_return |

Commit Message

Max Filippov June 9, 2023, 3:29 p.m. UTC
  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 <jcmvbkbc@gmail.com>
---
 arch/xtensa/kernel/xtensa_ksyms.c | 3 ---
 1 file changed, 3 deletions(-)
  

Patch

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