From: Christoph Hellwig Date: Fri, 21 Sep 2018 06:43:21 +0000 (+0200) Subject: RISC-V: remove the unused return_to_handler export X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f31b8de98853091e86a6391f9cd7948a2397287e;p=linux.git 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 Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/kernel/mcount.S b/arch/riscv/kernel/mcount.S index 5721624886a1c..8a5593ff9ff3d 100644 --- a/arch/riscv/kernel/mcount.S +++ b/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