From fe6b9530f64d16aae713607c492acd139db50e5f Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 6 Feb 2009 14:57:51 +0100 Subject: [PATCH] --- yaml --- r: 131267 b: refs/heads/master c: 7d8e23df69820e6be42bcc41d441f4860e8c76f7 h: refs/heads/master i: 131265: 640e144f481eff35dda9c0ff7e68f2c38542ef94 131263: 2ba13b79e734df0315ec0d12740406535a79385c v: v3 --- [refs] | 2 +- trunk/include/linux/sched.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index b2a98af5dd6d..2cdbec430a40 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4cd4c1b40d40447fb5e7ba80746c6d7ba91d7a53 +refs/heads/master: 7d8e23df69820e6be42bcc41d441f4860e8c76f7 diff --git a/trunk/include/linux/sched.h b/trunk/include/linux/sched.h index 082d7619b3a1..79392916d6c9 100644 --- a/trunk/include/linux/sched.h +++ b/trunk/include/linux/sched.h @@ -2208,8 +2208,6 @@ void thread_group_cputimer(struct task_struct *tsk, struct task_cputime *times) struct thread_group_cputimer *cputimer = &tsk->signal->cputimer; unsigned long flags; - WARN_ON(!cputimer->running); - spin_lock_irqsave(&cputimer->lock, flags); *times = cputimer->cputime; spin_unlock_irqrestore(&cputimer->lock, flags);