locking/arch: Remove dummy arch_{read,spin,write}_relax() implementations
authorWill Deacon <will.deacon@arm.com>
Tue, 3 Oct 2017 18:25:28 +0000 (19:25 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Oct 2017 09:50:18 +0000 (11:50 +0200)
commit0160fb177d484367e041ac251fca591a3e49660c
treec573a5a80bc6c62a0bcbbeb31be3b121367c3a2b
parenta8a217c22116eff6c120d753c9934089fb229af0
locking/arch: Remove dummy arch_{read,spin,write}_relax() implementations

arch_{read,spin,write}_relax() are defined as cpu_relax() by the core
code, so architectures that can't do better (i.e. most of them) don't
need to bother with the dummy definitions.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: paulmck@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/1507055129-12300-3-git-send-email-will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
15 files changed:
arch/arc/include/asm/spinlock.h
arch/arm/include/asm/spinlock.h
arch/arm64/include/asm/spinlock.h
arch/blackfin/include/asm/spinlock.h
arch/ia64/include/asm/spinlock.h
arch/m32r/include/asm/spinlock.h
arch/metag/include/asm/spinlock.h
arch/metag/include/asm/spinlock_lnkget.h
arch/mips/include/asm/spinlock.h
arch/s390/include/asm/spinlock.h
arch/sh/include/asm/spinlock-cas.h
arch/sh/include/asm/spinlock-llsc.h
arch/sparc/include/asm/spinlock_32.h
arch/sparc/include/asm/spinlock_64.h
arch/x86/include/asm/spinlock.h