Skip to contentSkip to conversation

RISC-V: remove the unused return_to_handler export

PATCH New Christoph Hellwig 2 participants 3 messages Sep 21, 2018 – Oct 9, 2018 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/riscv/kernel/mcount.S | 1 -
 1 file changed, 1 deletion(-)
arch/riscv/kernel/mcount.S +0 -1
index 5721624886a1..8a5593ff9ff3 100644
@@ -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
Signature · 1 line
2.18.0
#1 lore raw

PATCH 1/1 RISC-V: remove the unused return_to_handler export

ping?

Quoted 28 lines · Christoph Hellwig

This export is not only not needed, but also breaks symbol versioning due to being an undeclared assembly export.

---
 arch/riscv/kernel/mcount.S | 1 -
 1 file changed, 1 deletion(-)
arch/riscv/kernel/mcount.S +0 -1
index 5721624886a1..8a5593ff9ff3 100644
@@ -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
Signature · 7 lines
2.18.0


_______________________________________________
linux-riscv mailing list
linux-riscv at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

---end quoted text---

#2 lore raw

PATCH 1/1 RISC-V: remove the unused return_to_handler export

Sorry, this must have gotten lost. It'll be in for-next soon.

Quoted 32 lines · Christoph Hellwig

ping?

Quoted 24 lines · Christoph Hellwig

This export is not only not needed, but also breaks symbol versioning due to being an undeclared assembly export.

---
 arch/riscv/kernel/mcount.S | 1 -
 1 file changed, 1 deletion(-)
arch/riscv/kernel/mcount.S +0 -2
index 5721624886a1..8a5593ff9ff3 100644
@@ -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
--

2.18.0

Quoted 4 lines

_______________________________________________
linux-riscv mailing list
linux-riscv at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

---end quoted text---