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 <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent e9af8b7 commit a34fe10

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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)