summaryrefslogtreecommitdiff
path: root/include/asm-xtensa/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-xtensa/system.h')
-rw-r--r--include/asm-xtensa/system.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-xtensa/system.h b/include/asm-xtensa/system.h
index 4aaed7fe6cfe..ddc970847ae9 100644
--- a/include/asm-xtensa/system.h
+++ b/include/asm-xtensa/system.h
@@ -183,8 +183,6 @@ static inline unsigned long xchg_u32(volatile int * m, unsigned long val)
return tmp;
}
-#define tas(ptr) (xchg((ptr),1))
-
#define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
/*