aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-h8300/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-h8300/system.h')
-rw-r--r--include/asm-h8300/system.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-h8300/system.h b/include/asm-h8300/system.h
index 5084a9d42922..7807018f8500 100644
--- a/include/asm-h8300/system.h
+++ b/include/asm-h8300/system.h
@@ -98,7 +98,6 @@ asmlinkage void resume(void);
98#endif 98#endif
99 99
100#define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) 100#define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
101#define tas(ptr) (xchg((ptr),1))
102 101
103struct __xchg_dummy { unsigned long a[100]; }; 102struct __xchg_dummy { unsigned long a[100]; };
104#define __xg(x) ((volatile struct __xchg_dummy *)(x)) 103#define __xg(x) ((volatile struct __xchg_dummy *)(x))