On Fri, 2013-06-21 at 18:17 +0100, Will Deacon wrote: > 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 PowerPC. > Acked-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> > Signed-off-by: Will Deacon <will.deacon@xxxxxxx> > --- > arch/powerpc/include/asm/spinlock.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/powerpc/include/asm/spinlock.h b/arch/powerpc/include/asm/spinlock.h > index 5b23f91..2d4a841 100644 > --- a/arch/powerpc/include/asm/spinlock.h > +++ b/arch/powerpc/include/asm/spinlock.h > @@ -291,9 +291,5 @@ static inline void arch_write_unlock(arch_rwlock_t *rw) > #define arch_read_lock_flags(lock, flags) arch_read_lock(lock) > #define arch_write_lock_flags(lock, flags) arch_write_lock(lock) > > -#define arch_spin_relax(lock) __spin_yield(lock) > -#define arch_read_relax(lock) __rw_yield(lock) > -#define arch_write_relax(lock) __rw_yield(lock) > - > #endif /* __KERNEL__ */ > #endif /* __ASM_SPINLOCK_H */ -- 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