Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19347
b: refs/heads/master
c: a16a1c0
h: refs/heads/master
i:
  19345: 073df5a
  19343: f18ea35
v: v3
  • Loading branch information
Thomas Gleixner authored and Linus Torvalds committed Feb 1, 2006
1 parent 1dd6c39 commit eed07c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: b6557fbca805217588a412f391a65ceafcf1a1af
refs/heads/master: a16a1c095a2392d49fafea22f3a508e268ef7167
10 changes: 5 additions & 5 deletions trunk/kernel/itimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,16 @@ int do_setitimer(int which, struct itimerval *value, struct itimerval *ovalue)
again:
spin_lock_irq(&tsk->sighand->siglock);
timer = &tsk->signal->real_timer;
/* We are sharing ->siglock with it_real_fn() */
if (hrtimer_try_to_cancel(timer) < 0) {
spin_unlock_irq(&tsk->sighand->siglock);
goto again;
}
if (ovalue) {
ovalue->it_value = itimer_get_remtime(timer);
ovalue->it_interval
= ktime_to_timeval(tsk->signal->it_real_incr);
}
/* We are sharing ->siglock with it_real_fn() */
if (hrtimer_try_to_cancel(timer) < 0) {
spin_unlock_irq(&tsk->sighand->siglock);
goto again;
}
tsk->signal->it_real_incr =
timeval_to_ktime(value->it_interval);
expires = timeval_to_ktime(value->it_value);
Expand Down

0 comments on commit eed07c6

Please sign in to comment.