summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Daney2010-01-07 23:33:30 +0100
committerRalf Baechle2010-02-27 12:53:05 +0100
commitec5380c768864c7afd92aa886dd4bb6d38497a01 (patch)
treec4a744d6aad44bf1c1c0268f647b168fe0e25135
parentMIPS: Octeon: Register some devices on the I2C bus. (diff)
downloadkernel-qcow2-linux-ec5380c768864c7afd92aa886dd4bb6d38497a01.tar.gz
kernel-qcow2-linux-ec5380c768864c7afd92aa886dd4bb6d38497a01.tar.xz
kernel-qcow2-linux-ec5380c768864c7afd92aa886dd4bb6d38497a01.zip
MIPS: Remove unused macros from barrier.h
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> To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/848/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/include/asm/barrier.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/include/asm/barrier.h b/arch/mips/include/asm/barrier.h
index 8e9ac313ca3b..91785dc8e94e 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 */