csky: Cleanup asm/spinlock.h
authorGuo Ren <guoren@linux.alibaba.com>
Sun, 20 Dec 2020 08:12:45 +0000 (08:12 +0000)
committerGuo Ren <guoren@linux.alibaba.com>
Tue, 12 Jan 2021 01:52:40 +0000 (09:52 +0800)
commit8e35ac734fe2a1a225143d6375f9678f1850585c
treeed462da4ba2caff0e79d508d9bcbc992ce8f2210
parentc38425df20371ea977c38809cb1ebe8586171caf
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>
arch/csky/Kconfig
arch/csky/include/asm/spinlock.h
arch/csky/include/asm/spinlock_types.h