[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-70caf8a6c13c2279b35f2ad6b644815533d6c476@git.kernel.org>
Date: Tue, 23 Nov 2010 10:22:13 GMT
From: tip-bot for Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
a.p.zijlstra@...llo.nl, pjt@...gle.com, tglx@...utronix.de,
mingo@...e.hu
Subject: [tip:sched/core] sched: Fix UP build breakage
Commit-ID: 70caf8a6c13c2279b35f2ad6b644815533d6c476
Gitweb: http://git.kernel.org/tip/70caf8a6c13c2279b35f2ad6b644815533d6c476
Author: Peter Zijlstra <a.p.zijlstra@...llo.nl>
AuthorDate: Sat, 20 Nov 2010 00:53:51 +0100
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Tue, 23 Nov 2010 10:29:07 +0100
sched: Fix UP build breakage
The recent cgroup-scheduling rework caused a UP build problem.
Cc: Paul Turner <pjt@...gle.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/sched_fair.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 390ce30..82fd884 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -562,7 +562,7 @@ __update_curr(struct cfs_rq *cfs_rq, struct sched_entity *curr,
curr->vruntime += delta_exec_weighted;
update_min_vruntime(cfs_rq);
-#ifdef CONFIG_FAIR_GROUP_SCHED
+#if defined CONFIG_SMP && defined CONFIG_FAIR_GROUP_SCHED
cfs_rq->load_unacc_exec_time += delta_exec;
if (cfs_rq->load_unacc_exec_time > sysctl_sched_shares_window) {
update_cfs_load(cfs_rq, 0);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists