riscv: remove unused handle_exception symbol
authorRouven Czerwinski <rouven@czerwinskis.de>
Sat, 1 May 2021 18:53:58 +0000 (20:53 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 6 May 2021 16:40:16 +0000 (09:40 -0700)
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 <rouven@czerwinskis.de>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/traps.c

index 07fdded..0721b97 100644 (file)
@@ -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)