aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/system.h')
-rw-r--r--include/asm-i386/system.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-i386/system.h b/include/asm-i386/system.h
index e0454afb950f..a4ed087ac0ae 100644
--- a/include/asm-i386/system.h
+++ b/include/asm-i386/system.h
@@ -197,8 +197,6 @@ static inline unsigned long get_limit(unsigned long segment)
197 197
198#define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) 198#define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr))))
199 199
200#define tas(ptr) (xchg((ptr),1))
201
202struct __xchg_dummy { unsigned long a[100]; }; 200struct __xchg_dummy { unsigned long a[100]; };
203#define __xg(x) ((struct __xchg_dummy *)(x)) 201#define __xg(x) ((struct __xchg_dummy *)(x))
204 202