projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove tas()
[cascardo/linux.git]
/
include
/
asm-powerpc
/
system.h
diff --git
a/include/asm-powerpc/system.h
b/include/asm-powerpc/system.h
index
77bf587
..
09621f6
100644
(file)
--- a/
include/asm-powerpc/system.h
+++ b/
include/asm-powerpc/system.h
@@
-335,8
+335,6
@@
__xchg_local(volatile void *ptr, unsigned long x, unsigned int size)
(unsigned long)_x_, sizeof(*(ptr))); \
})
-#define tas(ptr) (xchg((ptr),1))
-
/*
* Compare and exchange - if *p == old, set it to new,
* and return the old value of *p.