Skip to content

Commit b356e89

Browse files
diandersDaniel Thompson
authored andcommitted
MIPS: kdb: Remove old workaround for backtracing on other CPUs
As of commit 2277b49 ("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 <[email protected]> Link: https://lore.kernel.org/r/20191109111623.1.I30a0cac4d9880040c8d41495bd9a567fe3e24989@changeid Signed-off-by: Daniel Thompson <[email protected]>
1 parent def9d27 commit b356e89

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/mips/kernel/traps.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,6 @@ void show_stack(struct task_struct *task, unsigned long *sp)
210210
regs.regs[29] = task->thread.reg29;
211211
regs.regs[31] = 0;
212212
regs.cp0_epc = task->thread.reg31;
213-
#ifdef CONFIG_KGDB_KDB
214-
} else if (atomic_read(&kgdb_active) != -1 &&
215-
kdb_current_regs) {
216-
memcpy(&regs, kdb_current_regs, sizeof(regs));
217-
#endif /* CONFIG_KGDB_KDB */
218213
} else {
219214
prepare_frametrace(&regs);
220215
}

0 commit comments

Comments
 (0)