summaryrefslogtreecommitdiff
path: root/arch/c6x/include/asm/cmpxchg.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/c6x/include/asm/cmpxchg.h')
-rw-r--r--arch/c6x/include/asm/cmpxchg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/c6x/include/asm/cmpxchg.h b/arch/c6x/include/asm/cmpxchg.h
index b27c8cefb..93d0a5a04 100644
--- a/arch/c6x/include/asm/cmpxchg.h
+++ b/arch/c6x/include/asm/cmpxchg.h
@@ -47,8 +47,6 @@ static inline unsigned int __xchg(unsigned int x, volatile void *ptr, int size)
#define xchg(ptr, x) \
((__typeof__(*(ptr)))__xchg((unsigned int)(x), (void *) (ptr), \
sizeof(*(ptr))))
-#define tas(ptr) xchg((ptr), 1)
-
#include <asm-generic/cmpxchg-local.h>