diff mbox series

MIPS: kernel: Drop kgdb_call_nmi_hook

Message ID 20210213140231.23985-1-tsbogend@alpha.franken.de (mailing list archive)
State Accepted
Commit e6ce4a480c76b34cb015d5470a1b4cb6ec5cbc16
Headers show
Series MIPS: kernel: Drop kgdb_call_nmi_hook | expand

Commit Message

Thomas Bogendoerfer Feb. 13, 2021, 2:02 p.m. UTC
With the removal of set_fs() calls kgdb_call_nmi_hook() is now the same as
the default implementation, so we can remove it.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
 arch/mips/kernel/kgdb.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Thomas Bogendoerfer Feb. 15, 2021, 1:19 p.m. UTC | #1
On Sat, Feb 13, 2021 at 03:02:31PM +0100, Thomas Bogendoerfer wrote:
> With the removal of set_fs() calls kgdb_call_nmi_hook() is now the same as
> the default implementation, so we can remove it.
> 
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> ---
>  arch/mips/kernel/kgdb.c | 5 -----
>  1 file changed, 5 deletions(-)

applied to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/kernel/kgdb.c b/arch/mips/kernel/kgdb.c
index de779e23faf2..09a2d7bb9eef 100644
--- a/arch/mips/kernel/kgdb.c
+++ b/arch/mips/kernel/kgdb.c
@@ -207,11 +207,6 @@  void arch_kgdb_breakpoint(void)
 		".set\treorder");
 }
 
-void kgdb_call_nmi_hook(void *ignored)
-{
-	kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs());
-}
-
 static int compute_signal(int tt)
 {
 	struct hard_trap_info *ht;