]> git.baikalelectronics.ru Git - kernel.git/commit
kdb: kdb_current_task shouldn't be exported
authorDouglas Anderson <dianders@chromium.org>
Sat, 9 Nov 2019 19:16:42 +0000 (11:16 -0800)
committerDaniel Thompson <daniel.thompson@linaro.org>
Fri, 31 Jan 2020 17:33:57 +0000 (17:33 +0000)
commit387f2abb0a8ddc6f8882adc4412c1770e11cd0a7
treeb6a6c9b092a6ef361d425be221ac32f6f1345320
parenta7625076f9e1644dfca3710a2b7e8a23831ba8e5
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: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20191109111623.3.I14b22b5eb15ca8f3812ab33e96621231304dc1f7@changeid
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
kernel/debug/kdb/kdb_main.c