watchdog: explicitly update timestamp when reporting softlockup
[sfrench/cifs-2.6.git] / kernel / watchdog.c
index 8440e62bfec47d26401eea38d43a3219378f3c16..8efd2a8d9f1036fc3590a5251069694d58f266b7 100644 (file)
@@ -410,6 +410,9 @@ static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer)
                        }
                }
 
+               /* Start period for the next softlockup warning. */
+               update_touch_ts();
+
                pr_emerg("BUG: soft lockup - CPU#%d stuck for %us! [%s:%d]\n",
                        smp_processor_id(), duration,
                        current->comm, task_pid_nr(current));