History

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.

Douglas Anderson committed 7 years ago

Commit c67c10a1 parent b356e892 files · +1 −2Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/kdb.h+0−2
@@ -183,8 +183,6 @@ int kdb_process_cpu(const struct task_struct *p) · 182 unmodified lines
183183 return cpu;
184184 }
185185
186−/* kdb access to register set for stack dumping */
187−extern struct pt_regs *kdb_current_regs;
188186 #ifdef CONFIG_KALLSYMS
189187 extern const char *kdb_walk_kallsyms(loff_t *pos);
190188 #else /* ! CONFIG_KALLSYMS */