diff options
author | Douglas Anderson <dianders@chromium.org> | 2019-11-09 22:16:41 +0300 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2020-01-31 20:33:54 +0300 |
commit | c67c10a67f6b2edcc7804317947cbfdeab71048c (patch) | |
tree | 8a5fea7f18e55b6a78fff01b25ac3c356146c1a7 /kernel | |
parent | b356e89b89cc950dc142e906c1ad5c2d4eb1fa13 (diff) | |
download | linux-c67c10a67f6b2edcc7804317947cbfdeab71048c.tar.xz |
kdb: kdb_current_regs should be private
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.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20191109111623.2.Iadbfb484e90b557cc4b5ac9890bfca732cd99d77@changeid
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/debug/kdb/kdb_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/debug/kdb/kdb_private.h b/kernel/debug/kdb/kdb_private.h index 55d052061ef9..e829b22f3946 100644 --- a/kernel/debug/kdb/kdb_private.h +++ b/kernel/debug/kdb/kdb_private.h @@ -242,6 +242,7 @@ extern void debug_kusage(void); extern void kdb_set_current_task(struct task_struct *); extern struct task_struct *kdb_current_task; +extern struct pt_regs *kdb_current_regs; #ifdef CONFIG_KDB_KEYBOARD extern void kdb_kbd_cleanup_state(void); |