|
@@ -155,11 +155,11 @@ void softlockup_tick(void)
|
|
* Wake up the high-prio watchdog task twice per
|
|
* Wake up the high-prio watchdog task twice per
|
|
* threshold timespan.
|
|
* threshold timespan.
|
|
*/
|
|
*/
|
|
- if (now > touch_ts + softlockup_thresh/2)
|
|
|
|
|
|
+ if (time_after(now - softlockup_thresh/2, touch_ts))
|
|
wake_up_process(per_cpu(softlockup_watchdog, this_cpu));
|
|
wake_up_process(per_cpu(softlockup_watchdog, this_cpu));
|
|
|
|
|
|
/* Warn about unreasonable delays: */
|
|
/* Warn about unreasonable delays: */
|
|
- if (now <= (touch_ts + softlockup_thresh))
|
|
|
|
|
|
+ if (time_before_eq(now - softlockup_thresh, touch_ts))
|
|
return;
|
|
return;
|
|
|
|
|
|
per_cpu(softlockup_print_ts, this_cpu) = touch_ts;
|
|
per_cpu(softlockup_print_ts, this_cpu) = touch_ts;
|