summaryrefslogtreecommitdiff
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 17:00:08 +0200
committerIngo Molnar <mingo@elte.hu>2007-10-15 17:00:08 +0200
commitedcb60a309769a5f6e7c9e76d7c98b34d1757448 (patch)
treeef288782a4d37739d9747fdcb1ae85d0ac7e5a94 /kernel/sched_fair.c
parentc86da3a3d40f6e7a032edfaea191fb51e9626c8f (diff)
downloadlwn-edcb60a309769a5f6e7c9e76d7c98b34d1757448.tar.gz
lwn-edcb60a309769a5f6e7c9e76d7c98b34d1757448.zip
sched: kernel/sched_fair.c whitespace cleanups
some trivial whitespace cleanups. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 568e922255c6..9f93a5c127e8 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -476,8 +476,8 @@ enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
int wakeup, int set_curr)
{
/*
- * In case of the 'current'.
- */
+ * In case of the 'current'.
+ */
if (unlikely(set_curr)) {
update_stats_curr_start(cfs_rq, se);
cfs_rq->curr = se;
@@ -992,9 +992,9 @@ static void task_new_fair(struct rq *rq, struct task_struct *p)
if (sysctl_sched_child_runs_first &&
curr->vruntime < se->vruntime) {
/*
- * Upon rescheduling, sched_class::put_prev_task() will place
- * 'current' within the tree based on its new key value.
- */
+ * Upon rescheduling, sched_class::put_prev_task() will place
+ * 'current' within the tree based on its new key value.
+ */
swap(curr->vruntime, se->vruntime);
}