| To: | linux-mips@linux-mips.org, ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH] MIPS: Remove unused macros from barrier.h |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Thu, 7 Jan 2010 14:33:30 -0800 |
| Cc: | David Daney <ddaney@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 1/7] MIPS: Octeon: Fix EIO handling., Greg KH |
|---|---|
| Next by Date: | [PATCH] MIPS: Octeon: Use non-overflowing arithmetic in sched_clock, David Daney |
| Previous by Thread: | [PATCH 0/3] Add I2C support for Octeon SOCs., David Daney |
| Next by Thread: | Re: [PATCH] MIPS: Remove unused macros from barrier.h, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |