projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove tas()
[linux-block.git]
/
include
/
asm-xtensa
/
system.h
diff --git
a/include/asm-xtensa/system.h
b/include/asm-xtensa/system.h
index 4aaed7fe6cfee3964531029a4013a0996888320b..ddc970847ae9e406c3a9da69e04a190c1acc7151 100644
(file)
--- a/
include/asm-xtensa/system.h
+++ b/
include/asm-xtensa/system.h
@@
-183,8
+183,6
@@
static inline unsigned long xchg_u32(volatile int * m, unsigned long val)
return tmp;
}
-#define tas(ptr) (xchg((ptr),1))
-
#define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
/*