Skip to content

Commit

Permalink
RISC-V: remove the unused return_to_handler export
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Palmer Dabbelt committed Oct 23, 2018
1 parent b90edb3 commit f31b8de
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/riscv/kernel/mcount.S
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ ENTRY(return_to_handler)
RESTORE_RET_ABI_STATE
jalr a1
ENDPROC(return_to_handler)
EXPORT_SYMBOL(return_to_handler)
#endif

#ifndef CONFIG_DYNAMIC_FTRACE
Expand Down

0 comments on commit f31b8de

Please sign in to comment.