summaryrefslogtreecommitdiffstats
path: root/kernel/arch/sh/include/asm/cmpxchg.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/sh/include/asm/cmpxchg.h')
-rw-r--r--kernel/arch/sh/include/asm/cmpxchg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/arch/sh/include/asm/cmpxchg.h b/kernel/arch/sh/include/asm/cmpxchg.h
index f6bd1406b..85c97b188 100644
--- a/kernel/arch/sh/include/asm/cmpxchg.h
+++ b/kernel/arch/sh/include/asm/cmpxchg.h
@@ -46,8 +46,6 @@ extern void __xchg_called_with_bad_pointer(void);
* if something tries to do an invalid cmpxchg(). */
extern void __cmpxchg_called_with_bad_pointer(void);
-#define __HAVE_ARCH_CMPXCHG 1
-
static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old,
unsigned long new, int size)
{