diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-11 08:24:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-11 08:24:32 -0800 |
commit | 94dba895333a4321f27360e42b807260ae36bda4 (patch) | |
tree | 7b6381da7ea9fc176001dda0714725c3a1dd6cc7 /kernel/itimer.c | |
parent | 9ce04f9238cafcfd09a502f2bc8c13b5f44ec590 (diff) | |
parent | 4da94d49b2ecb0a26e716a8811c3ecc542c2a65d (diff) | |
download | kernel-crypto-94dba895333a4321f27360e42b807260ae36bda4.tar.gz kernel-crypto-94dba895333a4321f27360e42b807260ae36bda4.tar.xz kernel-crypto-94dba895333a4321f27360e42b807260ae36bda4.zip |
Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
timers: fix TIMER_ABSTIME for process wide cpu timers
timers: split process wide cpu clocks/timers, fix
x86: clean up hpet timer reinit
timers: split process wide cpu clocks/timers, remove spurious warning
timers: split process wide cpu clocks/timers
signal: re-add dead task accumulation stats.
x86: fix hpet timer reinit for x86_64
sched: fix nohz load balancer on cpu offline
Diffstat (limited to 'kernel/itimer.c')
-rw-r--r-- | kernel/itimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/itimer.c b/kernel/itimer.c index 6a5fe93dd8b..58762f7077e 100644 --- a/kernel/itimer.c +++ b/kernel/itimer.c @@ -62,7 +62,7 @@ int do_getitimer(int which, struct itimerval *value) struct task_cputime cputime; cputime_t utime; - thread_group_cputime(tsk, &cputime); + thread_group_cputimer(tsk, &cputime); utime = cputime.utime; if (cputime_le(cval, utime)) { /* about to fire */ cval = jiffies_to_cputime(1); @@ -82,7 +82,7 @@ int do_getitimer(int which, struct itimerval *value) struct task_cputime times; cputime_t ptime; - thread_group_cputime(tsk, ×); + thread_group_cputimer(tsk, ×); ptime = cputime_add(times.utime, times.stime); if (cputime_le(cval, ptime)) { /* about to fire */ cval = jiffies_to_cputime(1); |