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-m68k
/
system.h
diff --git
a/include/asm-m68k/system.h
b/include/asm-m68k/system.h
index 243dd13e6bfc0895fcf0cfcd7081ac333a2f07bf..198878b53a618c92cf5f37261b0476807754c722 100644
(file)
--- a/
include/asm-m68k/system.h
+++ b/
include/asm-m68k/system.h
@@
-88,7
+88,6
@@
static inline int irqs_disabled(void)
#define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
-#define tas(ptr) (xchg((ptr),1))
struct __xchg_dummy { unsigned long a[100]; };
#define __xg(x) ((volatile struct __xchg_dummy *)(x))