linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Will Deacon <will.deacon@arm.com>
To: akpm@linux-foundation.org
Cc: linux-arch@vger.kernel.org, Will Deacon <will.deacon@arm.com>
Subject: [PATCH RESEND 02/14] ARM: locks: remove redundant arch_*_relax operations
Date: Fri, 21 Feb 2014 17:34:49 +0000	[thread overview]
Message-ID: <1393004101-25382-3-git-send-email-will.deacon@arm.com> (raw)
In-Reply-To: <1393004101-25382-1-git-send-email-will.deacon@arm.com>

Now that the arch_{spin,read,write}_relax macros default to cpu_relax(),
remove the redundant definitions for ARM.

Signed-off-by: Will Deacon <will.deacon@arm.com>
---
 arch/arm/include/asm/spinlock.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/include/asm/spinlock.h b/arch/arm/include/asm/spinlock.h
index ef3c6072aa45..d97df6f68fa3 100644
--- a/arch/arm/include/asm/spinlock.h
+++ b/arch/arm/include/asm/spinlock.h
@@ -289,8 +289,4 @@ static inline int arch_read_trylock(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)	cpu_relax()
-#define arch_read_relax(lock)	cpu_relax()
-#define arch_write_relax(lock)	cpu_relax()
-
 #endif /* __ASM_SPINLOCK_H */
-- 
1.8.2.2

  parent reply	other threads:[~2014-02-21 17:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-21 17:34 [PATCH RESEND 00/14] spinlock: remove redundant arch_*_relax operations Will Deacon
2014-02-21 17:34 ` [PATCH RESEND 01/14] ARC: locks: " Will Deacon
2014-02-21 17:34 ` Will Deacon [this message]
2014-02-21 17:34 ` [PATCH RESEND 03/14] arm64: " Will Deacon
2014-02-26 12:15   ` Catalin Marinas
2014-02-21 17:34 ` [PATCH RESEND 04/14] blackfin: " Will Deacon
2014-02-21 17:34 ` [PATCH RESEND 05/14] cris: " Will Deacon
2014-02-21 17:34 ` [PATCH RESEND 06/14] ia64: " Will Deacon
2014-02-21 17:34 ` [PATCH RESEND 07/14] m32r: " Will Deacon
2014-02-21 17:34 ` [PATCH RESEND 08/14] metag: " Will Deacon
2014-02-21 17:34 ` [PATCH RESEND 09/14] mips: " Will Deacon
2014-02-21 17:34 ` [PATCH RESEND 10/14] hppa: " Will Deacon
2014-02-21 17:34 ` [PATCH RESEND 11/14] s390: " Will Deacon
2014-02-21 17:34 ` [PATCH RESEND 12/14] sh: " Will Deacon
2014-02-21 17:35 ` [PATCH RESEND 13/14] sparc: " Will Deacon
2014-02-21 17:35 ` [PATCH RESEND 14/14] x86: " Will Deacon
2014-02-21 17:39   ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393004101-25382-3-git-send-email-will.deacon@arm.com \
    --to=will.deacon@arm.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-arch@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).