summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-09-21 08:43:21 +0200
committerPalmer Dabbelt <palmer@sifive.com>2018-10-22 17:38:12 -0700
commitf31b8de98853091e86a6391f9cd7948a2397287e (patch)
treed870522997b686099023b78ced570f510e2ed8b6 /arch/riscv/kernel
parentb90edb33010bcfb9a0d74681be2cdd52300f1e69 (diff)
downloadlinux-f31b8de98853091e86a6391f9cd7948a2397287e.tar.bz2
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/kernel')
-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