aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-04-29 08:46:59 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-29 08:47:05 -0400
commite7fd5d4b3d240f42c30a9e3d20a4689c4d3a795a (patch)
tree4ba588631dd8189a818a91c9e3976526071178b6 /include/linux/sched.h
parent1130b0296184bc21806225fd06d533515a99d2db (diff)
parent56a50adda49b2020156616c4eb15353e0f9ad7de (diff)
Merge branch 'linus' into perfcounters/core
Merge reason: This brach was on -rc1, refresh it to almost-rc4 to pick up the latest upstream fixes. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 8a8b84390813..d1857580a132 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -207,7 +207,8 @@ extern unsigned long long time_sync_thresh;
207#define task_is_stopped_or_traced(task) \ 207#define task_is_stopped_or_traced(task) \
208 ((task->state & (__TASK_STOPPED | __TASK_TRACED)) != 0) 208 ((task->state & (__TASK_STOPPED | __TASK_TRACED)) != 0)
209#define task_contributes_to_load(task) \ 209#define task_contributes_to_load(task) \
210 ((task->state & TASK_UNINTERRUPTIBLE) != 0) 210 ((task->state & TASK_UNINTERRUPTIBLE) != 0 && \
211 (task->flags & PF_FROZEN) == 0)
211 212
212#define __set_task_state(tsk, state_value) \ 213#define __set_task_state(tsk, state_value) \
213 do { (tsk)->state = (state_value); } while (0) 214 do { (tsk)->state = (state_value); } while (0)