Hello, This is an RFC cleanup series removing the unused arch_{spin,read,write}_relax macros from (nearly) all architectures that define them. The macros have no users in core code and are typically synonymous with cpu_relax(), the notable exceptions being PowerPC (where the thing is still unused) and S390. S390 does actually use the relax macros internally, as part of the spinlock implementation, in order to yield the CPU when a virtual CPU is spinning. For that reason, I've left arch_spin_relax alone there. Feedback welcome, Will Will Deacon (16): alpha: locks: remove unused arch_*_relax operations arc: locks: remove unused arch_*_relax operations ARM: locks: remove unused arch_*_relax operations arm64: locks: remove unused arch_*_relax operations blackfin: locks: remove unused arch_*_relax operations cris: locks: remove unused arch_*_relax operations ia64: locks: remove unused arch_*_relax operations m32r: locks: remove unused arch_*_relax operations metag: locks: remove unused arch_*_relax operations mips: locks: remove unused arch_*_relax operations hppa: locks: remove unused arch_*_relax operations powerpc: locks: remove unused arch_*_relax operations s390: locks: remove unused arch_*_relax operations sh: locks: remove unused arch_*_relax operations sparc: locks: remove unused arch_*_relax operations x86: locks: remove unused arch_*_relax operations arch/alpha/include/asm/spinlock.h | 4 ---- arch/arc/include/asm/spinlock.h | 4 ---- arch/arm/include/asm/spinlock.h | 4 ---- arch/arm64/include/asm/spinlock.h | 4 ---- arch/blackfin/include/asm/spinlock.h | 4 ---- arch/cris/include/arch-v32/arch/spinlock.h | 4 ---- arch/ia64/include/asm/spinlock.h | 4 ---- arch/m32r/include/asm/spinlock.h | 4 ---- arch/metag/include/asm/spinlock.h | 4 ---- arch/metag/include/asm/spinlock_lnkget.h | 7 ------- arch/mips/include/asm/spinlock.h | 4 ---- arch/parisc/include/asm/spinlock.h | 4 ---- arch/powerpc/include/asm/spinlock.h | 4 ---- arch/s390/include/asm/spinlock.h | 3 --- arch/sh/include/asm/spinlock.h | 4 ---- arch/sparc/include/asm/spinlock_32.h | 4 ---- arch/sparc/include/asm/spinlock_64.h | 4 ---- arch/x86/include/asm/spinlock.h | 4 ---- 18 files changed, 74 deletions(-) -- 1.8.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html