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 5721624886a1cc8f0af054da3bec133b53de0381..8a5593ff9ff3da5c3ca80e14e8e9f87dc2e1211d 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