linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/14] ARC: locks: remove redundant arch_*_relax operations
@ 2013-11-12 16:47 Will Deacon
  2013-11-12 16:47 ` [PATCH 02/14] ARM: " Will Deacon
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Will Deacon @ 2013-11-12 16:47 UTC (permalink / raw)
  To: akpm; +Cc: linux-arch, Will Deacon

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 b6a8c2dfbe6e..a7211e411018 100644
--- a/arch/arc/include/asm/spinlock.h
+++ b/arch/arc/include/asm/spinlock.h
@@ -144,8 +144,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

^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH 00/14] Remove redundant arch_*_relax operations
@ 2013-09-17 15:07 Will Deacon
  2013-09-17 15:07 ` [PATCH 06/14] ia64: locks: remove " Will Deacon
  0 siblings, 1 reply; 16+ messages in thread
From: Will Deacon @ 2013-09-17 15:07 UTC (permalink / raw)
  To: linux-arch; +Cc: Will Deacon

Hi linux-arch,

Now that the core part of this series has hit mainline (c14c338cb05c
["kernel/spinlock.c: add default arch_*_relax definitions for
GENERIC_LOCKBREAK"]), these arch patches should be fine to apply via
their respective trees.

I can mop up what's left next merge window if necessary.

Cheers,

Will


Will Deacon (14):
  ARC: locks: remove redundant arch_*_relax operations
  ARM: locks: remove redundant arch_*_relax operations
  arm64: locks: remove redundant arch_*_relax operations
  blackfin: locks: remove redundant arch_*_relax operations
  cris: locks: remove redundant arch_*_relax operations
  ia64: locks: remove redundant arch_*_relax operations
  m32r: locks: remove redundant arch_*_relax operations
  metag: locks: remove redundant arch_*_relax operations
  mips: locks: remove redundant arch_*_relax operations
  hppa: locks: remove redundant arch_*_relax operations
  s390: locks: remove redundant arch_*_relax operations
  sh: locks: remove redundant arch_*_relax operations
  sparc: locks: remove redundant arch_*_relax operations
  x86: locks: remove redundant arch_*_relax operations

 arch/arc/include/asm/spinlock.h            | 4 ----
 arch/arm/include/asm/spinlock.h            | 4 ----
 arch/arm64/include/asm/spinlock.h          | 4 ----
 arch/blackfin/include/asm/spinlock.h       | 4 ----
 arch/cris/include/arch-v32/arch/spinlock.h | 4 ----
 arch/ia64/include/asm/spinlock.h           | 4 ----
 arch/m32r/include/asm/spinlock.h           | 4 ----
 arch/metag/include/asm/spinlock.h          | 4 ----
 arch/metag/include/asm/spinlock_lnkget.h   | 7 -------
 arch/mips/include/asm/spinlock.h           | 4 ----
 arch/parisc/include/asm/spinlock.h         | 4 ----
 arch/s390/include/asm/spinlock.h           | 4 +---
 arch/sh/include/asm/spinlock.h             | 4 ----
 arch/sparc/include/asm/spinlock_32.h       | 4 ----
 arch/sparc/include/asm/spinlock_64.h       | 4 ----
 arch/x86/include/asm/spinlock.h            | 4 ----
 16 files changed, 1 insertion(+), 66 deletions(-)

-- 
1.8.2.2

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-01-16 18:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12 16:47 [PATCH 01/14] ARC: locks: remove redundant arch_*_relax operations Will Deacon
2013-11-12 16:47 ` [PATCH 02/14] ARM: " Will Deacon
2013-11-12 16:47 ` [PATCH 03/14] arm64: " Will Deacon
2013-11-12 16:47 ` [PATCH 04/14] blackfin: " Will Deacon
2013-11-12 16:47 ` [PATCH 05/14] cris: " Will Deacon
2013-11-12 16:47 ` [PATCH 06/14] ia64: " Will Deacon
2013-11-12 16:47 ` [PATCH 07/14] m32r: " Will Deacon
2013-11-12 16:47 ` [PATCH 08/14] metag: " Will Deacon
2013-11-12 16:47 ` [PATCH 09/14] mips: " Will Deacon
2013-11-12 16:47 ` [PATCH 10/14] hppa: " Will Deacon
2013-11-12 16:47 ` [PATCH 11/14] s390: " Will Deacon
2013-11-12 16:47 ` [PATCH 12/14] sh: " Will Deacon
2013-11-12 16:47 ` [PATCH 13/14] sparc: " Will Deacon
2013-11-12 16:47 ` [PATCH 14/14] x86: " Will Deacon
2014-01-16 18:55 ` [PATCH 01/14] ARC: " Will Deacon
  -- strict thread matches above, loose matches on Subject: below --
2013-09-17 15:07 [PATCH 00/14] Remove " Will Deacon
2013-09-17 15:07 ` [PATCH 06/14] ia64: locks: remove " Will Deacon

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).