Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Will Deacon and committed by
Matt Turner
8b3ed3c0 91b678c8

-4
-4
arch/alpha/include/asm/spinlock.h
··· 168 168 #define arch_read_lock_flags(lock, flags) arch_read_lock(lock) 169 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 171 #endif /* _ALPHA_SPINLOCK_H */