summaryrefslogtreecommitdiff
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-02-21 21:34:57 +0400
committerHelge Deller <deller@gmx.de>2014-03-23 20:01:23 +0400
commita34fe10750ebe524a39f97bd78ab4d232a554edb (patch)
treefbcb1dcbb05ea872117db209fce605e461f268ed /arch/parisc/include
parente9af8b7aba1fd5f2175ec552ec36d5efe57f6c1d (diff)
downloadlinux-a34fe10750ebe524a39f97bd78ab4d232a554edb.tar.xz
parisc: locks: remove redundant arch_*_relax operations
Now that the arch_{spin,read,write}_relax macros default to cpu_relax(), remove the redundant definitions for parisc. Cc: Helge Deller <deller@gmx.de> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include')
-rw-r--r--arch/parisc/include/asm/spinlock.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/parisc/include/asm/spinlock.h b/arch/parisc/include/asm/spinlock.h
index 3516e0b27044..64f2992e439f 100644
--- a/arch/parisc/include/asm/spinlock.h
+++ b/arch/parisc/include/asm/spinlock.h
@@ -191,8 +191,4 @@ static __inline__ int arch_write_can_lock(arch_rwlock_t *rw)
#define arch_read_lock_flags(lock, flags) arch_read_lock(lock)
#define arch_write_lock_flags(lock, flags) arch_write_lock(lock)
-#define arch_spin_relax(lock) cpu_relax()
-#define arch_read_relax(lock) cpu_relax()
-#define arch_write_relax(lock) cpu_relax()
-
#endif /* __ASM_SPINLOCK_H */