summaryrefslogtreecommitdiff
path: root/arch/frv/include/asm/cmpxchg.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/frv/include/asm/cmpxchg.h')
-rw-r--r--arch/frv/include/asm/cmpxchg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/frv/include/asm/cmpxchg.h b/arch/frv/include/asm/cmpxchg.h
index 5b04dd0aecab..a899765102ea 100644
--- a/arch/frv/include/asm/cmpxchg.h
+++ b/arch/frv/include/asm/cmpxchg.h
@@ -69,8 +69,6 @@ extern uint32_t __xchg_32(uint32_t i, volatile void *v);
#endif
-#define tas(ptr) (xchg((ptr), 1))
-
/*****************************************************************************/
/*
* compare and conditionally exchange value with memory