diff options
author | Will Deacon <will.deacon@arm.com> | 2013-06-21 13:17:22 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2013-07-19 16:54:23 -0400 |
commit | 8b3ed3c002666540d9782a5219fa75c8a3fba98f (patch) | |
tree | 04d0a2f94dbbac91921a2b48f9bde3418ef2e5b1 /arch | |
parent | 91b678c8edb7d8abd444705df63b80af31ad13e8 (diff) |
alpha: locks: remove unused arch_*_relax operations
The arch_{spin,read,write}_relax macros are not used anywhere in the
kernel and are typically just aliases for cpu_relax().
This patch removes the unused definitions for Alpha.
Cc: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/include/asm/spinlock.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/alpha/include/asm/spinlock.h b/arch/alpha/include/asm/spinlock.h index 3bba21e41b81..37b570d01202 100644 --- a/arch/alpha/include/asm/spinlock.h +++ b/arch/alpha/include/asm/spinlock.h | |||
@@ -168,8 +168,4 @@ static inline void arch_write_unlock(arch_rwlock_t * lock) | |||
168 | #define arch_read_lock_flags(lock, flags) arch_read_lock(lock) | 168 | #define arch_read_lock_flags(lock, flags) arch_read_lock(lock) |
169 | #define arch_write_lock_flags(lock, flags) arch_write_lock(lock) | 169 | #define arch_write_lock_flags(lock, flags) arch_write_lock(lock) |
170 | 170 | ||
171 | #define arch_spin_relax(lock) cpu_relax() | ||
172 | #define arch_read_relax(lock) cpu_relax() | ||
173 | #define arch_write_relax(lock) cpu_relax() | ||
174 | |||
175 | #endif /* _ALPHA_SPINLOCK_H */ | 171 | #endif /* _ALPHA_SPINLOCK_H */ |