diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-08 03:34:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:20 -0400 |
commit | 5dc12ddee93d63d7107cbbf70db23476d7b30e43 (patch) | |
tree | a0c53f8a4d826e73213268c87657ae933d7634b3 /include/asm-i386 | |
parent | c343c14aec1e70a51575e3c29391ee86ae7dbeb2 (diff) |
Remove tas()
tas() has no users, so get rid of it.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: <linux-arch@vger.kernel.org>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/system.h | 2 |
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 | |||
202 | struct __xchg_dummy { unsigned long a[100]; }; | 200 | struct __xchg_dummy { unsigned long a[100]; }; |
203 | #define __xg(x) ((struct __xchg_dummy *)(x)) | 201 | #define __xg(x) ((struct __xchg_dummy *)(x)) |
204 | 202 | ||