From 5dc12ddee93d63d7107cbbf70db23476d7b30e43 Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Tue, 8 May 2007 00:34:59 -0700 Subject: Remove tas() tas() has no users, so get rid of it. Signed-off-by: Jeff Dike Cc: Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-x86_64/system.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/asm-x86_64') diff --git a/include/asm-x86_64/system.h b/include/asm-x86_64/system.h index 1f1c0bf4a5d..5316f3cac23 100644 --- a/include/asm-x86_64/system.h +++ b/include/asm-x86_64/system.h @@ -126,8 +126,6 @@ static inline void sched_cacheflush(void) #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) -#define tas(ptr) (xchg((ptr),1)) - #define __xg(x) ((volatile long *)(x)) static inline void set_64bit(volatile unsigned long *ptr, unsigned long val) -- cgit v1.2.3