aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/system.h')
-rw-r--r--include/asm-x86_64/system.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86_64/system.h b/include/asm-x86_64/system.h
index 1f1c0bf4a5df..5316f3cac230 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)
126 126
127#define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) 127#define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr))))
128 128
129#define tas(ptr) (xchg((ptr),1))
130
131#define __xg(x) ((volatile long *)(x)) 129#define __xg(x) ((volatile long *)(x))
132 130
133static inline void set_64bit(volatile unsigned long *ptr, unsigned long val) 131static inline void set_64bit(volatile unsigned long *ptr, unsigned long val)