The arch_{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 S390. arch_spin_relax is left alone, since the S390 spinlock internals rely on (and export) this symbol. Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx> Signed-off-by: Will Deacon <will.deacon@xxxxxxx> --- arch/s390/include/asm/spinlock.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/s390/include/asm/spinlock.h b/arch/s390/include/asm/spinlock.h index 701fe8c..8b030e2 100644 --- a/arch/s390/include/asm/spinlock.h +++ b/arch/s390/include/asm/spinlock.h @@ -170,7 +170,4 @@ static inline int arch_write_trylock(arch_rwlock_t *rw) return _raw_write_trylock_retry(rw); } -#define arch_read_relax(lock) cpu_relax() -#define arch_write_relax(lock) cpu_relax() - #endif /* __ASM_SPINLOCK_H */ -- 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