RISC-V: remove the unused return_to_handler export
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Sep 2018 06:43:21 +0000 (08:43 +0200)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 23 Oct 2018 00:38:12 +0000 (17:38 -0700)
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>
arch/riscv/kernel/mcount.S

index 5721624..8a5593f 100644 (file)
@@ -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