projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git]
/
arch
/
c6x
/
include
/
asm
/
cmpxchg.h
diff --git
a/arch/c6x/include/asm/cmpxchg.h
b/arch/c6x/include/asm/cmpxchg.h
index
b27c8ce
..
93d0a5a
100644
(file)
--- 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>