Home
last modified time | relevance | path

Searched hist:"8 e35ac734fe2a1a225143d6375f9678f1850585c" (Results 1 – 2 of 2) sorted by relevance

/linux/arch/csky/include/asm/
H A Dspinlock.hdiff 8e35ac734fe2a1a225143d6375f9678f1850585c Sun Dec 20 09:12:45 CET 2020 Guo Ren <guoren@linux.alibaba.com> csky: Cleanup asm/spinlock.h

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.GD2674@hirez.programming.kicks-ass.net/#t
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Cc: Peter Zijlstra <peterz@infradead.org>k
Cc: Arnd Bergmann <arnd@arndb.de>
H A Dspinlock_types.hdiff 8e35ac734fe2a1a225143d6375f9678f1850585c Sun Dec 20 09:12:45 CET 2020 Guo Ren <guoren@linux.alibaba.com> csky: Cleanup asm/spinlock.h

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.GD2674@hirez.programming.kicks-ass.net/#t
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Cc: Peter Zijlstra <peterz@infradead.org>k
Cc: Arnd Bergmann <arnd@arndb.de>