diff options
Diffstat (limited to 'kernel/sys.c')
-rw-r--r-- | kernel/sys.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index ce8129192a26..b6636643cbd1 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
@@ -862,11 +862,9 @@ void do_sys_times(struct tms *tms) | |||
862 | { | 862 | { |
863 | cputime_t tgutime, tgstime, cutime, cstime; | 863 | cputime_t tgutime, tgstime, cutime, cstime; |
864 | 864 | ||
865 | spin_lock_irq(¤t->sighand->siglock); | ||
866 | thread_group_cputime_adjusted(current, &tgutime, &tgstime); | 865 | thread_group_cputime_adjusted(current, &tgutime, &tgstime); |
867 | cutime = current->signal->cutime; | 866 | cutime = current->signal->cutime; |
868 | cstime = current->signal->cstime; | 867 | cstime = current->signal->cstime; |
869 | spin_unlock_irq(¤t->sighand->siglock); | ||
870 | tms->tms_utime = cputime_to_clock_t(tgutime); | 868 | tms->tms_utime = cputime_to_clock_t(tgutime); |
871 | tms->tms_stime = cputime_to_clock_t(tgstime); | 869 | tms->tms_stime = cputime_to_clock_t(tgstime); |
872 | tms->tms_cutime = cputime_to_clock_t(cutime); | 870 | tms->tms_cutime = cputime_to_clock_t(cutime); |