From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754351AbdBFOwL (ORCPT ); Mon, 6 Feb 2017 09:52:11 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:56115 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751988AbdBFOwK (ORCPT ); Mon, 6 Feb 2017 09:52:10 -0500 Date: Mon, 6 Feb 2017 15:52:03 +0100 From: Peter Zijlstra To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Andrew Morton , Linus Torvalds , Mike Galbraith , Oleg Nesterov , Thomas Gleixner Subject: Re: [PATCH 58/89] sched/headers: Move the 'root_task_group' declaration to Message-ID: <20170206145203.GM6515@twins.programming.kicks-ass.net> References: <1486387772-18837-1-git-send-email-mingo@kernel.org> <1486387772-18837-59-git-send-email-mingo@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1486387772-18837-59-git-send-email-mingo@kernel.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 06, 2017 at 02:29:01PM +0100, Ingo Molnar wrote: > diff --git a/include/linux/sched/autogroup.h b/include/linux/sched/autogroup.h > index c0810fe196f4..55cd496df884 100644 > --- a/include/linux/sched/autogroup.h > +++ b/include/linux/sched/autogroup.h > @@ -23,4 +24,8 @@ static inline void sched_autogroup_exit(struct signal_struct *sig) { } > static inline void sched_autogroup_exit_task(struct task_struct *p) { } > #endif > > +#ifdef CONFIG_CGROUP_SCHED > +extern struct task_group root_task_group; > +#endif /* CONFIG_CGROUP_SCHED */ > + > #endif /* _LINUX_SCHED_AUTOGROUP_H */ That's a bit weird. It has nothing to do with autogroup.