summaryrefslogtreecommitdiff
path: root/kernel/panic.c
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2022-06-17 16:36:48 +0200
committerPetr Mladek <pmladek@suse.com>2022-06-17 16:36:48 +0200
commit38335cc5ffafa111210ad6bbe5a63a87db38ee68 (patch)
treea317e519b8a46ad7351d23719b34b27b96e4427d /kernel/panic.c
parent12831f6486f9db5a8f2c87129f2b8f33349b1e04 (diff)
parentb87f02307d3cfbda768520f0687c51ca77e14fc3 (diff)
Merge branch 'rework/kthreads' into for-linus
Diffstat (limited to 'kernel/panic.c')
-rw-r--r--kernel/panic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/panic.c b/kernel/panic.c
index a3c758dba15a..4cf13c37bd08 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -297,6 +297,7 @@ void panic(const char *fmt, ...)
* unfortunately means it may not be hardened to work in a
* panic situation.
*/
+ try_block_console_kthreads(10000);
smp_send_stop();
} else {
/*
@@ -304,6 +305,7 @@ void panic(const char *fmt, ...)
* kmsg_dump, we will need architecture dependent extra
* works in addition to stopping other CPUs.
*/
+ try_block_console_kthreads(10000);
crash_smp_send_stop();
}