From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: Re: [PATCH RT 04/15] posixtimer: init timer only with CONFIG_POSIX_TIMERS enabled Date: Fri, 1 Dec 2017 12:35:28 -0500 Message-ID: <20171201123528.07eb8091@gandalf.local.home> References: <20171201154959.375846909@goodmis.org> <20171201155028.664412746@goodmis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Thomas Gleixner , Carsten Emde , Sebastian Andrzej Siewior , John Kacur , Paul Gortmaker , Julia Cartwright , Daniel Wagner , tom.zanussi@linux.intel.com, Alex Shi To: linux-kernel@vger.kernel.org, linux-rt-users Return-path: In-Reply-To: <20171201155028.664412746@goodmis.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-rt-users.vger.kernel.org On Fri, 01 Dec 2017 10:50:03 -0500 Steven Rostedt wrote: > 4.9.65-rt57-rc1 stable review patch. > If anyone has any objections, please let me know. > > ------------------ > > From: Sebastian Andrzej Siewior > > In v4.11 it is possible to disable the posix timers and so we must not > attempt to initialize the task_struct on RT with !POSIX_TIMERS. > This patch does so. Hmm, I may have been too greedy in pulling in this patch. I'm going to remove it from the list, and post a -rc2. -- Steve > > Signed-off-by: Sebastian Andrzej Siewior > --- > include/linux/init_task.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/init_task.h b/include/linux/init_task.h > index a56e263f5005..526ecfc58909 100644 > --- a/include/linux/init_task.h > +++ b/include/linux/init_task.h > @@ -150,7 +150,7 @@ extern struct task_group root_task_group; > # define INIT_PERF_EVENTS(tsk) > #endif > > -#ifdef CONFIG_PREEMPT_RT_BASE > +#if defined(CONFIG_POSIX_TIMERS) && defined(CONFIG_PREEMPT_RT_BASE) > # define INIT_TIMER_LIST .posix_timer_list = NULL, > #else > # define INIT_TIMER_LIST