From: Will Deacon <will.deacon@arm.com>
To: linux-arch@vger.kernel.org
Cc: Will Deacon <will.deacon@arm.com>
Subject: [PATCH 01/14] ARC: locks: remove redundant arch_*_relax operations
Date: Tue, 17 Sep 2013 16:07:33 +0100 [thread overview]
Message-ID: <1379430466-30520-2-git-send-email-will.deacon@arm.com> (raw)
In-Reply-To: <1379430466-30520-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 ARC.
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
---
arch/arc/include/asm/spinlock.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arc/include/asm/spinlock.h b/arch/arc/include/asm/spinlock.h
index f158197..fddced5 100644
--- a/arch/arc/include/asm/spinlock.h
+++ b/arch/arc/include/asm/spinlock.h
@@ -137,8 +137,4 @@ 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) cpu_relax()
-#define arch_read_relax(lock) cpu_relax()
-#define arch_write_relax(lock) cpu_relax()
-
#endif /* __ASM_SPINLOCK_H */
--
1.8.2.2
next prev parent reply other threads:[~2013-09-17 15:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-17 15:07 [PATCH 00/14] Remove redundant arch_*_relax operations Will Deacon
2013-09-17 15:07 ` Will Deacon [this message]
2013-09-17 15:07 ` [PATCH 02/14] ARM: locks: remove " Will Deacon
2013-09-17 15:07 ` [PATCH 03/14] arm64: " Will Deacon
2013-09-17 15:07 ` [PATCH 04/14] blackfin: " Will Deacon
2013-09-17 15:07 ` [PATCH 05/14] cris: " Will Deacon
2013-09-17 15:07 ` [PATCH 06/14] ia64: " Will Deacon
2013-09-17 15:07 ` [PATCH 07/14] m32r: " Will Deacon
2013-09-17 15:07 ` [PATCH 08/14] metag: " Will Deacon
2013-09-17 15:07 ` [PATCH 09/14] mips: " Will Deacon
2013-09-17 15:07 ` [PATCH 10/14] hppa: " Will Deacon
2013-09-17 15:07 ` [PATCH 11/14] s390: " Will Deacon
2013-09-17 15:07 ` [PATCH 12/14] sh: " Will Deacon
2013-09-17 15:07 ` [PATCH 13/14] sparc: " Will Deacon
2013-09-17 15:07 ` [PATCH 14/14] x86: " Will Deacon
-- strict thread matches above, loose matches on Subject: below --
2013-11-12 16:47 [PATCH 01/14] ARC: " Will Deacon
2014-01-16 18:55 ` Will Deacon
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=1379430466-30520-2-git-send-email-will.deacon@arm.com \
--to=will.deacon@arm.com \
--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).