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


Groups > linux.kernel > #1674913 > unrolled 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

Started bySebastian Andrzej Siewior <bigeasy@linutronix.de>
First post2017-06-26 18:10 +0200
Last post2017-06-26 18:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#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

FromSebastian Andrzej Siewior <bigeasy@linutronix.de>
Date2017-06-26 18:10 +0200
SubjectRe: [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
Message-ID<tWEKm-4wE-17@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web