Skip to content

Commit a34fe10

Browse files
wildea01hdeller
authored andcommitted
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>
1 parent e9af8b7 commit a34fe10

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎arch/parisc/include/asm/spinlock.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,4 @@ static __inline__ int arch_write_can_lock(arch_rwlock_t *rw)
191191
#define arch_read_lock_flags(lock, flags) arch_read_lock(lock)
192192
#define arch_write_lock_flags(lock, flags) arch_write_lock(lock)
193193

194-
#define arch_spin_relax(lock) cpu_relax()
195-
#define arch_read_relax(lock) cpu_relax()
196-
#define arch_write_relax(lock) cpu_relax()
197-
198194
#endif /* __ASM_SPINLOCK_H */

0 commit comments

Comments
 (0)