commit | 8e35ac734fe2a1a225143d6375f9678f1850585c | [log] [tgz] |
---|---|---|
author | Guo Ren <guoren@linux.alibaba.com> | Sun Dec 20 08:12:45 2020 +0000 |
committer | Guo Ren <guoren@linux.alibaba.com> | Tue Jan 12 09:52:40 2021 +0800 |
tree | ed462da4ba2caff0e79d508d9bcbc992ce8f2210 | |
parent | c38425df20371ea977c38809cb1ebe8586171caf [diff] |
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>