Commit a8649fb0 authored by Douglas Anderson's avatar Douglas Anderson Committed by Daniel Thompson

kdb: kdb_current_task shouldn't be exported

The kdb_current_task variable has been declared in
"kernel/debug/kdb/kdb_private.h" since 2010 when kdb was added to the
mainline kernel.  This is not a public header.  There should be no
reason that kdb_current_task should be exported and there are no
in-kernel users that need it.  Remove the export.
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20191109111623.3.I14b22b5eb15ca8f3812ab33e96621231304dc1f7@changeidSigned-off-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
parent c67c10a6
...@@ -73,7 +73,6 @@ int kdb_nextline = 1; ...@@ -73,7 +73,6 @@ int kdb_nextline = 1;
int kdb_state; /* General KDB state */ int kdb_state; /* General KDB state */
struct task_struct *kdb_current_task; struct task_struct *kdb_current_task;
EXPORT_SYMBOL(kdb_current_task);
struct pt_regs *kdb_current_regs; struct pt_regs *kdb_current_regs;
const char *kdb_diemsg; const char *kdb_diemsg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment