Re: [RFC PATCH v1 1/9] timer: fix circular header dependency

2018-09-25 Thread Christophe Leroy
On 09/25/2018 12:15 PM, Christophe LEROY wrote: Le 25/09/2018 à 14:11, Mark Rutland a écrit : On Tue, Sep 25, 2018 at 07:34:15AM +0200, Christophe LEROY wrote: Le 24/09/2018 à 17:52, Christophe Leroy a écrit : When switching powerpc to CONFIG_THREAD_INFO_IN_TASK, include/sched.h has to

Re: [RFC PATCH v1 1/9] timer: fix circular header dependency

2018-09-25 Thread Christophe LEROY
Le 25/09/2018 à 14:11, Mark Rutland a écrit : On Tue, Sep 25, 2018 at 07:34:15AM +0200, Christophe LEROY wrote: Le 24/09/2018 à 17:52, Christophe Leroy a écrit : When switching powerpc to CONFIG_THREAD_INFO_IN_TASK, include/sched.h has to be included in asm/smp.h for the following change,

Re: [RFC PATCH v1 1/9] timer: fix circular header dependency

2018-09-25 Thread Mark Rutland
On Tue, Sep 25, 2018 at 07:34:15AM +0200, Christophe LEROY wrote: > > > Le 24/09/2018 à 17:52, Christophe Leroy a écrit : > > When switching powerpc to CONFIG_THREAD_INFO_IN_TASK, include/sched.h > > has to be included in asm/smp.h for the following change, in order > > to avoid uncomplete defini

Re: [RFC PATCH v1 1/9] timer: fix circular header dependency

2018-09-24 Thread Christophe LEROY
Le 25/09/2018 à 07:34, Christophe LEROY a écrit : Le 24/09/2018 à 17:52, Christophe Leroy a écrit : When switching powerpc to CONFIG_THREAD_INFO_IN_TASK, include/sched.h has to be included in asm/smp.h for the following change, in order to avoid uncomplete definition of task_struct: -#defi

Re: [RFC PATCH v1 1/9] timer: fix circular header dependency

2018-09-24 Thread Christophe LEROY
Le 24/09/2018 à 17:52, Christophe Leroy a écrit : When switching powerpc to CONFIG_THREAD_INFO_IN_TASK, include/sched.h has to be included in asm/smp.h for the following change, in order to avoid uncomplete definition of task_struct: -#define raw_smp_processor_id() (current_thread_info()->cpu