Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1674913

Re: [linux-rt-devel:linux-4.11.y-rt-rebase 160/353] init/init_task.c:19:8: error: unknown field 'posix_timer_list' specified in initializer

From Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Newsgroups linux.kernel
Subject Re: [linux-rt-devel:linux-4.11.y-rt-rebase 160/353] init/init_task.c:19:8: error: unknown field 'posix_timer_list' specified in initializer
Date 2017-06-26 18:10 +0200
Message-ID <tWEKm-4wE-17@gated-at.bofh.it> (permalink)
References <tWEKm-4wE-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2017-06-16 21:55:59 [+0800], kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-4.11.y-rt-rebase
> head:   9a5f5870d7dedcb287c4a1af27de7cf35302c56c
> commit: 470637c623fc39a4804c3611e480b5ccdf3dca1c [160/353] posix-timers: Thread posix-cpu-timers on -rt
> config: x86_64-randconfig-i0-201724 (attached as .config)
> compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
> reproduce:
>         git checkout 470637c623fc39a4804c3611e480b5ccdf3dca1c
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All error/warnings (new ones prefixed by >>):
> 
> >> init/init_task.c:19:8: error: unknown field 'posix_timer_list' specified in initializer
>     struct task_struct init_task = INIT_TASK(init_task);
>            ^

Taking this as the fix for the v4.11 RT only fallout.

diff --git a/include/linux/init_task.h b/include/linux/init_task.h
--- a/include/linux/init_task.h
+++ b/include/linux/init_task.h
@@ -167,7 +167,7 @@ extern struct cred init_cred;
 # 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

Sebastian

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [linux-rt-devel:linux-4.11.y-rt-rebase 160/353]  init/init_task.c:19:8: error: unknown field 'posix_timer_list' specified in  initializer Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2017-06-26 18:10 +0200

csiph-web