aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/cmpxchg.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/include/asm/cmpxchg.h')
-rw-r--r--arch/blackfin/include/asm/cmpxchg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/cmpxchg.h b/arch/blackfin/include/asm/cmpxchg.h
index c05868cc61c1..253928854299 100644
--- a/arch/blackfin/include/asm/cmpxchg.h
+++ b/arch/blackfin/include/asm/cmpxchg.h
@@ -128,6 +128,5 @@ static inline unsigned long __xchg(unsigned long x, volatile void *ptr,
#endif /* !CONFIG_SMP */
#define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
-#define tas(ptr) ((void)xchg((ptr), 1))
#endif /* __ARCH_BLACKFIN_CMPXCHG__ */