aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-02-13 15:02:31 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-02-15 12:23:54 +0100
commite6ce4a480c76b34cb015d5470a1b4cb6ec5cbc16 (patch)
tree4168b406edad5534baefc83f77c6faa7ef86f9a6 /arch
parentMAINTAINERS: Add git tree for KVM/mips (diff)
downloadlinux-dev-e6ce4a480c76b34cb015d5470a1b4cb6ec5cbc16.tar.xz
linux-dev-e6ce4a480c76b34cb015d5470a1b4cb6ec5cbc16.zip
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. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/kgdb.c5
1 files changed, 0 insertions, 5 deletions
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;