diff options
author | 2020-04-01 12:26:12 +0200 | |
---|---|---|
committer | 2020-04-01 12:26:12 +0200 | |
commit | c9f289701540baeef9ac7c9977d67a7259f404db (patch) | |
tree | ac3c29d41da02ac735c9a12da78905842fbccd2f /kernel/sched/debug.c | |
parent | Merge branch 'for-5.6/upstream-fixes' into for-linus (diff) | |
parent | HID: appleir: Use devm_kzalloc() instead of kzalloc() (diff) | |
download | linux-rng-c9f289701540baeef9ac7c9977d67a7259f404db.tar.xz linux-rng-c9f289701540baeef9ac7c9977d67a7259f404db.zip |
Merge branch 'for-5.7/appleir' into for-linus
- small code cleanups in hid-appleir from Lucas Tanure
Diffstat (limited to 'kernel/sched/debug.c')
-rw-r--r-- | kernel/sched/debug.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index f7e4579e746c..879d3ccf3806 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c @@ -751,9 +751,16 @@ void sysrq_sched_debug_show(void) int cpu; sched_debug_header(NULL); - for_each_online_cpu(cpu) + for_each_online_cpu(cpu) { + /* + * Need to reset softlockup watchdogs on all CPUs, because + * another CPU might be blocked waiting for us to process + * an IPI or stop_machine. + */ + touch_nmi_watchdog(); + touch_all_softlockup_watchdogs(); print_cpu(NULL, cpu); - + } } /* |