From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: [PATCH 04/14] blackfin: locks: remove redundant arch_*_relax operations Date: Tue, 17 Sep 2013 16:07:36 +0100 Message-ID: <1379430466-30520-5-git-send-email-will.deacon@arm.com> References: <1379430466-30520-1-git-send-email-will.deacon@arm.com> Return-path: Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:41247 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752893Ab3IQPII (ORCPT ); Tue, 17 Sep 2013 11:08:08 -0400 In-Reply-To: <1379430466-30520-1-git-send-email-will.deacon@arm.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: linux-arch@vger.kernel.org Cc: Will Deacon , Mike Frysinger Now that the arch_{spin,read,write}_relax macros default to cpu_relax(), remove the redundant definitions for Blackfin. Cc: Mike Frysinger Signed-off-by: Will Deacon --- arch/blackfin/include/asm/spinlock.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/blackfin/include/asm/spinlock.h b/arch/blackfin/include/asm/spinlock.h index 490c7ca..8c58dda 100644 --- a/arch/blackfin/include/asm/spinlock.h +++ b/arch/blackfin/include/asm/spinlock.h @@ -96,10 +96,6 @@ static inline void arch_write_unlock(arch_rwlock_t *rw) __raw_write_unlock_asm(&rw->lock); } -#define arch_spin_relax(lock) cpu_relax() -#define arch_read_relax(lock) cpu_relax() -#define arch_write_relax(lock) cpu_relax() - #endif #endif /* !__BFIN_SPINLOCK_H */ -- 1.8.2.2