]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
MIPS: Remove unused macros from barrier.h
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 7 Jan 2010 22:33:30 +0000 (14:33 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:05 +0000 (12:53 +0100)
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>
arch/mips/include/asm/barrier.h

index 8e9ac313ca3b498906df6086065c0a067e90614e..91785dc8e94e76d00a3f48c4110f81f64a9d47d1 100644 (file)
        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 */