Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756616Ab2HFPcK (ORCPT ); Mon, 6 Aug 2012 11:32:10 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:60689 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755529Ab2HFPcJ (ORCPT ); Mon, 6 Aug 2012 11:32:09 -0400 X-Authenticated: #14349625 X-Provags-ID: V01U2FsdGVkX184xVECTaI4yfYtODTuEJueXbUSW3bNEGPf3n4cue UOdSivKx79TG8G Message-ID: <1344267125.6853.33.camel@marge.simpson.net> Subject: [patch] sched,cgroup_sched: fix up task_groups list From: Mike Galbraith To: LKML Cc: Peter Zijlstra Date: Mon, 06 Aug 2012 17:32:05 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1051 Lines: 38 Thinko happened during sched migration to kernel/sched, fix it up. Signed-off-by: Mike Galbraith Cc: stable@kernel.org # v3.3+ --- kernel/sched/core.c | 1 + kernel/sched/sched.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -7246,6 +7246,7 @@ int in_sched_functions(unsigned long add #ifdef CONFIG_CGROUP_SCHED struct task_group root_task_group; +LIST_HEAD(task_groups); #endif DECLARE_PER_CPU(cpumask_var_t, load_balance_tmpmask); --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -80,7 +80,7 @@ extern struct mutex sched_domains_mutex; struct cfs_rq; struct rt_rq; -static LIST_HEAD(task_groups); +extern struct list_head task_groups; struct cfs_bandwidth { #ifdef CONFIG_CFS_BANDWIDTH -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/