linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] riscv: remove unused handle_exception symbol
@ 2021-05-01 18:53 Rouven Czerwinski
  2021-05-06  7:19 ` Palmer Dabbelt
  0 siblings, 1 reply; 2+ messages in thread
From: Rouven Czerwinski @ 2021-05-01 18:53 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou
  Cc: kernel, Rouven Czerwinski, linux-riscv, linux-kernel

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>
---
 arch/riscv/kernel/traps.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/riscv/kernel/traps.c b/arch/riscv/kernel/traps.c
index 1357abf79570..6810fc9c775d 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)
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] riscv: remove unused handle_exception symbol
  2021-05-01 18:53 [PATCH] riscv: remove unused handle_exception symbol Rouven Czerwinski
@ 2021-05-06  7:19 ` Palmer Dabbelt
  0 siblings, 0 replies; 2+ messages in thread
From: Palmer Dabbelt @ 2021-05-06  7:19 UTC (permalink / raw)
  To: rouven; +Cc: Paul Walmsley, aou, kernel, rouven, linux-riscv, linux-kernel

On Sat, 01 May 2021 11:53:58 PDT (-0700), rouven@czerwinskis.de wrote:
> 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>
> ---
>  arch/riscv/kernel/traps.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/arch/riscv/kernel/traps.c b/arch/riscv/kernel/traps.c
> index 1357abf79570..6810fc9c775d 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)

Thanks, this is on for-next.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-06  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-01 18:53 [PATCH] riscv: remove unused handle_exception symbol Rouven Czerwinski
2021-05-06  7:19 ` Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).