aboutsummaryrefslogtreecommitdiff
path: root/include/linux/kdb.h
diff options
context:
space:
mode:
authorGravatar Douglas Anderson <dianders@chromium.org> 2019-11-09 11:16:41 -0800
committerGravatar Daniel Thompson <daniel.thompson@linaro.org> 2020-01-31 17:33:54 +0000
commitc67c10a67f6b2edcc7804317947cbfdeab71048c (patch)
tree8a5fea7f18e55b6a78fff01b25ac3c356146c1a7 /include/linux/kdb.h
parentMIPS: kdb: Remove old workaround for backtracing on other CPUs (diff)
downloadlinux-c67c10a67f6b2edcc7804317947cbfdeab71048c.tar.gz
linux-c67c10a67f6b2edcc7804317947cbfdeab71048c.tar.bz2
linux-c67c10a67f6b2edcc7804317947cbfdeab71048c.zip
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 'include/linux/kdb.h')
-rw-r--r--include/linux/kdb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/kdb.h b/include/linux/kdb.h
index 68bd88223417..24cd447659e0 100644
--- a/include/linux/kdb.h
+++ b/include/linux/kdb.h
@@ -183,8 +183,6 @@ int kdb_process_cpu(const struct task_struct *p)
return cpu;
}
-/* kdb access to register set for stack dumping */
-extern struct pt_regs *kdb_current_regs;
#ifdef CONFIG_KALLSYMS
extern const char *kdb_walk_kallsyms(loff_t *pos);
#else /* ! CONFIG_KALLSYMS */