|
@@ -82,10 +82,11 @@ void softlockup_tick(void)
|
|
|
print_timestamp = per_cpu(print_timestamp, this_cpu);
|
|
|
|
|
|
/* report at most once a second */
|
|
|
- if (print_timestamp < (touch_timestamp + 1) ||
|
|
|
- did_panic ||
|
|
|
- !per_cpu(watchdog_task, this_cpu))
|
|
|
+ if ((print_timestamp >= touch_timestamp &&
|
|
|
+ print_timestamp < (touch_timestamp + 1)) ||
|
|
|
+ did_panic || !per_cpu(watchdog_task, this_cpu)) {
|
|
|
return;
|
|
|
+ }
|
|
|
|
|
|
/* do not print during early bootup: */
|
|
|
if (unlikely(system_state != SYSTEM_RUNNING)) {
|