summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorRouven Czerwinski <rouven@czerwinskis.de>2021-05-01 20:53:58 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-05-06 09:40:16 -0700
commitbeaf5ae15a13d835a01e30c282c8325ce0f1eb7e (patch)
tree2060c4d4b925be2a5f287122e8dfdc7baee4c6a7 /arch/riscv
parent8d91b097335892bfbc9fd5783e80e25f0fb5bb2b (diff)
downloadlinux-beaf5ae15a13d835a01e30c282c8325ce0f1eb7e.tar.bz2
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 <rouven@czerwinskis.de> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/kernel/traps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/riscv/kernel/traps.c b/arch/riscv/kernel/traps.c
index 07fdded10c21..0721b9798595 100644
--- a/arch/riscv/kernel/traps.c
+++ b/arch/riscv/kernel/traps.c
@@ -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)