Skip to content

Commit f31b8de

Browse files
Christoph Hellwigpalmer-dabbelt
authored andcommitted
RISC-V: remove the unused return_to_handler export
This export is not only not needed, but also breaks symbol versioning due to being an undeclared assembly export. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
1 parent b90edb3 commit f31b8de

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/riscv/kernel/mcount.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ ENTRY(return_to_handler)
7575
RESTORE_RET_ABI_STATE
7676
jalr a1
7777
ENDPROC(return_to_handler)
78-
EXPORT_SYMBOL(return_to_handler)
7978
#endif
8079

8180
#ifndef CONFIG_DYNAMIC_FTRACE

0 commit comments

Comments
 (0)