Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189072
b: refs/heads/master
c: 8c2eb48
h: refs/heads/master
v: v3
  • Loading branch information
Colin Ian King authored and Ingo Molnar committed Mar 21, 2010
1 parent bc25b3d commit 78a9885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0cff810f54b3b52075c27f7a7021d5b195264b6c
refs/heads/master: 8c2eb4805d422bdbf60ba00ff233c794d23c3c00
4 changes: 2 additions & 2 deletions trunk/kernel/softlockup.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ void softlockup_tick(void)
* Wake up the high-prio watchdog task twice per
* 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));

/* Warn about unreasonable delays: */
if (now <= (touch_ts + softlockup_thresh))
if (time_before_eq(now - softlockup_thresh, touch_ts))
return;

per_cpu(softlockup_print_ts, this_cpu) = touch_ts;
Expand Down

0 comments on commit 78a9885

Please sign in to comment.