Re: [PATCH 1/3] powerpc/spinlocks: Refactor SHARED_PROCESSOR

2019-07-31 Thread Andrew Donnellan
On 28/7/19 10:54 pm, Christopher M. Riedl wrote: Determining if a processor is in shared processor mode is not a constant so don't hide it behind a #define. Signed-off-by: Christopher M. Riedl This seems aesthetically more right. Reviewed-by: Andrew Donnellan --- arch/powerpc/include/as

Re: [PATCH 1/3] powerpc/spinlocks: Refactor SHARED_PROCESSOR

2019-07-30 Thread Christopher M Riedl
> On July 30, 2019 at 7:11 PM Thiago Jung Bauermann > wrote: > > > > Christopher M Riedl writes: > > >> On July 30, 2019 at 4:31 PM Thiago Jung Bauermann > >> wrote: > >> > >> > >> > >> Christopher M. Riedl writes: > >> > >> > Determining if a processor is in shared processor mode is no

Re: [PATCH 1/3] powerpc/spinlocks: Refactor SHARED_PROCESSOR

2019-07-30 Thread Thiago Jung Bauermann
Christopher M Riedl writes: >> On July 30, 2019 at 4:31 PM Thiago Jung Bauermann >> wrote: >> >> >> >> Christopher M. Riedl writes: >> >> > Determining if a processor is in shared processor mode is not a constant >> > so don't hide it behind a #define. >> > >> > Signed-off-by: Christopher M.

Re: [PATCH 1/3] powerpc/spinlocks: Refactor SHARED_PROCESSOR

2019-07-30 Thread Christopher M Riedl
> On July 30, 2019 at 4:31 PM Thiago Jung Bauermann > wrote: > > > > Christopher M. Riedl writes: > > > Determining if a processor is in shared processor mode is not a constant > > so don't hide it behind a #define. > > > > Signed-off-by: Christopher M. Riedl > > --- > > arch/powerpc/inclu

Re: [PATCH 1/3] powerpc/spinlocks: Refactor SHARED_PROCESSOR

2019-07-30 Thread Thiago Jung Bauermann
Christopher M. Riedl writes: > Determining if a processor is in shared processor mode is not a constant > so don't hide it behind a #define. > > Signed-off-by: Christopher M. Riedl > --- > arch/powerpc/include/asm/spinlock.h | 21 +++-- > 1 file changed, 15 insertions(+), 6 de

[PATCH 1/3] powerpc/spinlocks: Refactor SHARED_PROCESSOR

2019-07-28 Thread Christopher M. Riedl
Determining if a processor is in shared processor mode is not a constant so don't hide it behind a #define. Signed-off-by: Christopher M. Riedl --- arch/powerpc/include/asm/spinlock.h | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/include/