aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorDario Faggioli <raistlin@linux.it>2010-11-30 13:51:33 -0500
committerIngo Molnar <mingo@elte.hu>2010-12-08 14:16:00 -0500
commit806c09a7db457be3758e14b1f152761135d89af5 (patch)
treeb0fafff45634be80f3caf7227c5d47317f26e0e9 /include/linux/sched.h
parent8e9255e6a2141e050d51bc4d96dbef494a87d653 (diff)
sched: Make pushable_tasks CONFIG_SMP dependant
As noted by Peter Zijlstra at https://lkml.org/lkml/2010/11/10/391 (while reviewing other stuff, though), tracking pushable tasks only makes sense on SMP systems. Signed-off-by: Dario Faggioli <raistlin@linux.it> Acked-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Gregory Haskins <ghaskins@novell.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1291143093.2697.298.camel@Palantir> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 9c2d46da486e..4f92a239c14d 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1240,7 +1240,9 @@ struct task_struct {
1240#endif 1240#endif
1241 1241
1242 struct list_head tasks; 1242 struct list_head tasks;
1243#ifdef CONFIG_SMP
1243 struct plist_node pushable_tasks; 1244 struct plist_node pushable_tasks;
1245#endif
1244 1246
1245 struct mm_struct *mm, *active_mm; 1247 struct mm_struct *mm, *active_mm;
1246#if defined(SPLIT_RSS_COUNTING) 1248#if defined(SPLIT_RSS_COUNTING)