diff options
author | Douglas Anderson <dianders@chromium.org> | 2019-11-09 11:16:40 -0800 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2020-01-31 17:33:51 +0000 |
commit | b356e89b89cc950dc142e906c1ad5c2d4eb1fa13 (patch) | |
tree | 8842b148a2d7072c1e092060f41eb3459db8edfa /arch/mips/kernel | |
parent | def9d2780727cec3313ed3522d0123158d87224d (diff) |
MIPS: kdb: Remove old workaround for backtracing on other CPUs
As of commit 2277b492582d ("kdb: Fix stack crawling on 'running' CPUs
that aren't the master") we no longer need any special case for doing
stack dumps on CPUs that are not the kdb master. Let's remove.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20191109111623.1.I30a0cac4d9880040c8d41495bd9a567fe3e24989@changeid
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/traps.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 83f2a437d9e2..31968cbd6464 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -210,11 +210,6 @@ void show_stack(struct task_struct *task, unsigned long *sp) regs.regs[29] = task->thread.reg29; regs.regs[31] = 0; regs.cp0_epc = task->thread.reg31; -#ifdef CONFIG_KGDB_KDB - } else if (atomic_read(&kgdb_active) != -1 && - kdb_current_regs) { - memcpy(®s, kdb_current_regs, sizeof(regs)); -#endif /* CONFIG_KGDB_KDB */ } else { prepare_frametrace(®s); } |