Re: [PATCH v2 5/5] csky: Cleanup asm/spinlock.h

2021-01-07 Thread Peter Zijlstra
On Sun, Dec 20, 2020 at 03:39:23PM +, guo...@kernel.org wrote: > From: Guo Ren > > There are two implementation of spinlock in arch/csky: > - simple one (NR_CPU = 1,2) > - tick's one (NR_CPU = 3,4) > Remove the simple one. > > There is already smp_mb in spinlock, so remove the definition o

[PATCH v2 5/5] csky: Cleanup asm/spinlock.h

2020-12-20 Thread guoren
From: Guo Ren There are two implementation of spinlock in arch/csky: - simple one (NR_CPU = 1,2) - tick's one (NR_CPU = 3,4) Remove the simple one. There is already smp_mb in spinlock, so remove the definition of smp_mb__after_spinlock. Link: https://lore.kernel.org/linux-csky/20200807081253