aboutsummaryrefslogtreecommitdiff
path: root/arch/avr32/include
diff options
context:
space:
mode:
authorThomas Gleixner2015-05-13 10:54:25 +0200
committerThomas Gleixner2015-05-13 10:55:42 +0200
commita22e5f579b98f16e24b7184d01c35de26eb5a7f7 (patch)
tree2773ac00d1e8f1dba6c5c0ac0b0c2fc5805126dd /arch/avr32/include
parentcede88418b385b50f6841e4b2f1586888b8ab924 (diff)
arch: Remove __ARCH_HAVE_CMPXCHG
We removed the only user of this define in the rtmutex code. Get rid of it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'arch/avr32/include')
-rw-r--r--arch/avr32/include/asm/cmpxchg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/avr32/include/asm/cmpxchg.h b/arch/avr32/include/asm/cmpxchg.h
index 962a6aeab787..366bbeaeb405 100644
--- a/arch/avr32/include/asm/cmpxchg.h
+++ b/arch/avr32/include/asm/cmpxchg.h
@@ -70,8 +70,6 @@ extern unsigned long __cmpxchg_u64_unsupported_on_32bit_kernels(
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)
{