riscv: remove unused handle_exception symbol
PATCH 1/1 riscv: remove unused handle_exception symbol
Since commit 79b1feba5455 ("RISC-V: Setup exception vector early") exception vectors are setup early and the handle_exception symbol from the asm files is no longer referenced in traps.c. Remove it.
Signed-off-by Rouven Czerwinski <[email protected]>
--- arch/riscv/kernel/traps.c | 2 -- 1 file changed, 2 deletions(-)
arch/riscv/kernel/traps.c +0 -2
@@ -25,8 +25,6 @@int show_unhandled_signals =1 ; -extern asmlinkage void handle_exception(void); -static DEFINE_SPINLOCK (die_lock);void die (struct pt_regs *regs,const char *str)
Signature · 7 lines
2.31.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Palmer Dabbelt
maintainerQuoted 14 lines · On Sat, 01 May 2021 11:53:58 PDT (-0700), [email protected] wrote:
Since commit
79b1feba5455("RISC-V: Setup exception vector early") exception vectors are setup early and thehandle_exceptionsymbol from the asm files is no longer referenced intraps.c. Remove it.Signed-off-by Rouven Czerwinski <[email protected]>--- arch/riscv/kernel/traps.c | 2 -- 1 file changed, 2 deletions(-)arch/riscv/kernel/traps.c +0
-0
arch/riscv/kernel/traps.c line 30
Quoted 8 lines
arch/riscv/kernel/traps.c +0
-2@@ -25,8 +25,6 @@int show_unhandled_signals =1 ; -extern asmlinkage void handle_exception(void); -static DEFINE_SPINLOCK (die_lock);void die (struct pt_regs *regs,const char *str)
Thanks, this is on for-next.