As of the patch ("MIPS: kdb: Remove old workaround for backtracing on other CPUs") there is no reason for kdb_current_regs to be in the public "kdb.h". Let's move it next to kdb_current_task.
Showing the changes to kernel/debug (1 of 2 files). Show all
Unified · Split
| @@ -242,6 +242,7 @@ extern void debug_kusage(void); · 241 unmodified lines | ||
| 242 | 242 | |
| 243 | 243 | extern void kdb_set_current_task(struct task_struct *); |
| 244 | 244 | extern struct task_struct *kdb_current_task; |
| 245 | +extern struct pt_regs *kdb_current_regs; | |
| 245 | 246 | |
| 246 | 247 | #ifdef CONFIG_KDB_KEYBOARD |
| 247 | 248 | extern void kdb_kbd_cleanup_state(void); |