Skip to contentSkip to conversation

MIPS: kernel: Drop kgdb_call_nmi_hook

PATCH Applied Thomas Bogendoerfer 1 participant 2 messages Feb 13, 2021 – Feb 15, 2021 MIPS

lore
Share & tools
lore

Thomas Bogendoerfer

author maintainer
#0 lore raw

PATCH 1/1 MIPS: kernel: Drop kgdb_call_nmi_hook

With the removal of set_fs() calls kgdb_call_nmi_hook() is now the same as the default implementation, so we can remove it.

---
 arch/mips/kernel/kgdb.c | 5 -----
 1 file changed, 5 deletions(-)
arch/mips/kernel/kgdb.c +0 -5
index de779e23faf2..09a2d7bb9eef 100644
@@ -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;
Signature · 1 line
2.29.2
author maintainer Applied
#1 lore raw
Quoted 7 lines · Thomas Bogendoerfer

With the removal of set_fs() calls kgdb_call_nmi_hook() is now the same as the default implementation, so we can remove it.

---
 arch/mips/kernel/kgdb.c | 5 -----
 1 file changed, 5 deletions(-)

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]