* [PATCH] MIPS: Remove unused macros from barrier.h
@ 2010-01-07 22:33 David Daney
2010-01-12 10:20 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: David Daney @ 2010-01-07 22:33 UTC (permalink / raw)
To: linux-mips, ralf; +Cc: David Daney
The smp_llsc_rmb() and smp_llsc_wmb() macros are not used in the tree,
remove them.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
arch/mips/include/asm/barrier.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/mips/include/asm/barrier.h b/arch/mips/include/asm/barrier.h
index 8e9ac31..91785dc 100644
--- a/arch/mips/include/asm/barrier.h
+++ b/arch/mips/include/asm/barrier.h
@@ -149,7 +149,5 @@
do { var = value; smp_mb(); } while (0)
#define smp_llsc_mb() __asm__ __volatile__(__WEAK_LLSC_MB : : :"memory")
-#define smp_llsc_rmb() __asm__ __volatile__(__WEAK_LLSC_MB : : :"memory")
-#define smp_llsc_wmb() __asm__ __volatile__(__WEAK_LLSC_MB : : :"memory")
#endif /* __ASM_BARRIER_H */
--
1.6.0.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MIPS: Remove unused macros from barrier.h
2010-01-07 22:33 [PATCH] MIPS: Remove unused macros from barrier.h David Daney
@ 2010-01-12 10:20 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2010-01-12 10:20 UTC (permalink / raw)
To: David Daney; +Cc: linux-mips
On Thu, Jan 07, 2010 at 02:33:30PM -0800, David Daney wrote:
> The smp_llsc_rmb() and smp_llsc_wmb() macros are not used in the tree,
> remove them.
Yes, I don't think these macros are going to be used anytime soon. Queued
for 2.6.34.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-12 10:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07 22:33 [PATCH] MIPS: Remove unused macros from barrier.h David Daney
2010-01-12 10:20 ` Ralf Baechle
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).