projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove tas()
[powerpc.git]
/
include
/
asm-mips
/
system.h
diff --git
a/include/asm-mips/system.h
b/include/asm-mips/system.h
index
d53dd72
..
30f23a2
100644
(file)
--- a/
include/asm-mips/system.h
+++ b/
include/asm-mips/system.h
@@
-201,7
+201,6
@@
static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz
}
#define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
-#define tas(ptr) (xchg((ptr),1))
#define __HAVE_ARCH_CMPXCHG 1