Browse Source

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>
Christoph Hellwig 6 years ago
parent
commit
f31b8de988
1 changed files with 0 additions and 1 deletions
  1. 0 1
      arch/riscv/kernel/mcount.S

+ 0 - 1
arch/riscv/kernel/mcount.S

@@ -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