This is a note to let you know that I've just added the patch titled riscv: remove unused handle_exception symbol to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: riscv-remove-unused-handle_exception-symbol.patch and it can be found in the queue-5.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit 41b33c44b51d27f711d2e822d711de291c216c75 Author: Rouven Czerwinski <rouven@xxxxxxxxxxxxxx> Date: Sat May 1 20:53:58 2021 +0200 riscv: remove unused handle_exception symbol [ Upstream commit beaf5ae15a13d835a01e30c282c8325ce0f1eb7e ] 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@xxxxxxxxxxxxxx> Signed-off-by: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx> Stable-dep-of: 6a97f4118ac0 ("riscv: Fix sleeping in invalid context in die()") Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/arch/riscv/kernel/traps.c b/arch/riscv/kernel/traps.c index 030094ac7190..184f7b82c5ae 100644 --- a/arch/riscv/kernel/traps.c +++ b/arch/riscv/kernel/traps.c @@ -23,8 +23,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)