All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] sched: trivial fix for incorrect comments
@ 2008-09-19 15:49 Chris Friesen
  2008-09-22 11:00 ` Ingo Molnar
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Friesen @ 2008-09-19 15:49 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra, Linux kernel

From: Chris Friesen    <cfriesen@nortel.com>

A couple of the comments for the conditional definitions in sched.c are
incorrect.  Here's a trivial patch fixing them up.


Signed-off-by: Chris Friesen <cfriesen@nortel.com>
Approval token "Nortel-02-July-2008-01"

---

diff --git a/kernel/sched.c b/kernel/sched.c
index cc1f81b..8ddca50 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -298,9 +298,9 @@ static DEFINE_PER_CPU(struct cfs_rq, init_cfs_rq) 
____cacheline_aligned_in_smp;
  static DEFINE_PER_CPU(struct sched_rt_entity, init_sched_rt_entity);
  static DEFINE_PER_CPU(struct rt_rq, init_rt_rq) 
____cacheline_aligned_in_smp;
  #endif /* CONFIG_RT_GROUP_SCHED */
-#else /* !CONFIG_FAIR_GROUP_SCHED */
+#else /* !CONFIG_USER_SCHED */
  #define root_task_group init_task_group
-#endif /* CONFIG_FAIR_GROUP_SCHED */
+#endif /* CONFIG_USER_SCHED */

  /* task_group_lock serializes add/remove of task groups and also 
changes to
   * a task group's cpu shares.

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-27 18:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-19 15:49 [patch] sched: trivial fix for incorrect comments Chris Friesen
2008-09-22 11:00 ` Ingo Molnar
2008-09-23 16:08   ` Chris Friesen
2008-09-27 18:10     ` Ingo Molnar
2008-09-27 18:19       ` Peter Zijlstra
2008-09-27 18:22         ` Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.