summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-09-21 08:43:21 +0200
committerPalmer Dabbelt <palmer@sifive.com>2018-10-23 02:38:12 +0200
commitf31b8de98853091e86a6391f9cd7948a2397287e (patch)
treed870522997b686099023b78ced570f510e2ed8b6 /arch/riscv
parentRISC-V: Add futex support. (diff)
downloadlinux-f31b8de98853091e86a6391f9cd7948a2397287e.tar.xz
linux-f31b8de98853091e86a6391f9cd7948a2397287e.zip
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>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/kernel/mcount.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv/kernel/mcount.S b/arch/riscv/kernel/mcount.S
index 5721624886a1..8a5593ff9ff3 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