diff options
Diffstat (limited to 'kernel/sys.c')
-rw-r--r-- | kernel/sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index ebe65c2c9873..d356d79e84ac 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
@@ -907,8 +907,8 @@ void do_sys_times(struct tms *tms) | |||
907 | struct task_cputime cputime; | 907 | struct task_cputime cputime; |
908 | cputime_t cutime, cstime; | 908 | cputime_t cutime, cstime; |
909 | 909 | ||
910 | spin_lock_irq(¤t->sighand->siglock); | ||
911 | thread_group_cputime(current, &cputime); | 910 | thread_group_cputime(current, &cputime); |
911 | spin_lock_irq(¤t->sighand->siglock); | ||
912 | cutime = current->signal->cutime; | 912 | cutime = current->signal->cutime; |
913 | cstime = current->signal->cstime; | 913 | cstime = current->signal->cstime; |
914 | spin_unlock_irq(¤t->sighand->siglock); | 914 | spin_unlock_irq(¤t->sighand->siglock); |