Re: [PATCH] sched/autogroup: move sched.h include

2017-12-08 Thread Peter Zijlstra
On Fri, Dec 08, 2017 at 05:24:22PM +0900, Sergey Senozhatsky wrote: > Move local "sched.h" include to the bottom. sched.h defines > several macros that are getting redefined in ARCH-specific > code, for instance, finish_arch_post_lock_switch() and > prepare_arch_switch(), so we need ARCH-specific d

Re: [PATCH] sched/autogroup: move sched.h include

2017-12-08 Thread Sergey Senozhatsky
Hi, On (12/08/17 09:57), Petr Mladek wrote: > On Fri 2017-12-08 17:24:22, Sergey Senozhatsky wrote: > > Move local "sched.h" include to the bottom. sched.h defines > > several macros that are getting redefined in ARCH-specific > > code, for instance, finish_arch_post_lock_switch() and > > prepare_

Re: [PATCH] sched/autogroup: move sched.h include

2017-12-08 Thread Petr Mladek
On Fri 2017-12-08 17:24:22, Sergey Senozhatsky wrote: > Move local "sched.h" include to the bottom. sched.h defines > several macros that are getting redefined in ARCH-specific > code, for instance, finish_arch_post_lock_switch() and > prepare_arch_switch(), so we need ARCH-specific definitions > t

[PATCH] sched/autogroup: move sched.h include

2017-12-08 Thread Sergey Senozhatsky
Move local "sched.h" include to the bottom. sched.h defines several macros that are getting redefined in ARCH-specific code, for instance, finish_arch_post_lock_switch() and prepare_arch_switch(), so we need ARCH-specific definitions to come in first. Suggested-by: Martin Schwidefsky Signed-off-b