kgdb: Remove kgdb_schedule_breakpoint()
authorDaniel Thompson <daniel.thompson@linaro.org>
Wed, 10 Feb 2021 14:25:25 +0000 (14:25 +0000)
committerDaniel Thompson <daniel.thompson@linaro.org>
Thu, 11 Feb 2021 10:51:56 +0000 (10:51 +0000)
commitf11e2bc682cc197e33bfd118178cadb61326dc0e
tree2236b0e697e4401b631d88d5c6dc37fab97ad612
parent93f7a6d818deef69d0ba652d46bae6fbabbf365c
kgdb: Remove kgdb_schedule_breakpoint()

To the very best of my knowledge there has never been any in-tree
code that calls this function. It exists largely to support an
out-of-tree driver that provides kgdb-over-ethernet using the
netpoll API.

kgdboe has been out-of-tree for more than 10 years and I don't
recall any serious attempt to upstream it at any point in the last
five. At this stage it looks better to stop carrying this code in
the kernel and integrate the code into the out-of-tree driver
instead.

The long term trajectory for the kernel looks likely to include
effort to remove or reduce the use of tasklets (something that has
also been true for the last 10 years). Thus the main real reason
for this patch is to make explicit that the in-tree kgdb features
do not require tasklets.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20210210142525.2876648-1-daniel.thompson@linaro.org
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Acked-by: Jason Wessel <jason.wessel@windriver.com>
include/linux/kgdb.h
kernel/debug/debug_core.c