kgdb: Provide a stub kgdb_nmicallback() if !CONFIG_KGDB
authorDouglas Anderson <dianders@chromium.org>
Thu, 1 Jun 2023 21:31:50 +0000 (14:31 -0700)
committerDaniel Thompson <daniel.thompson@linaro.org>
Thu, 29 Jun 2023 14:06:32 +0000 (15:06 +0100)
commit8117f948f12bc559edf40916e7693512c8c9a50b
treeed7dbbb0fdb0292b4ebc26024a92412095dcd9d2
parent858fd168a95c5b9669aac8db6c14a9aeab446375
kgdb: Provide a stub kgdb_nmicallback() if !CONFIG_KGDB

To save architectures from needing to wrap the call in #ifdefs, add a
stub no-op version of kgdb_nmicallback(), which returns 1 if it didn't
handle anything.

Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20230601143109.v9.6.Ia3aeac89bb6751b682237e76e5ba594318e4b1aa@changeid
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
include/linux/kgdb.h