diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-05-13 11:54:25 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-05-13 11:55:42 +0300 |
commit | a22e5f579b98f16e24b7184d01c35de26eb5a7f7 (patch) | |
tree | 2773ac00d1e8f1dba6c5c0ac0b0c2fc5805126dd /arch/powerpc/include/asm/cmpxchg.h | |
parent | cede88418b385b50f6841e4b2f1586888b8ab924 (diff) | |
download | linux-a22e5f579b98f16e24b7184d01c35de26eb5a7f7.tar.xz |
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/powerpc/include/asm/cmpxchg.h')
-rw-r--r-- | arch/powerpc/include/asm/cmpxchg.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/cmpxchg.h b/arch/powerpc/include/asm/cmpxchg.h index d463c68fe7f0..ad6263cffb0f 100644 --- a/arch/powerpc/include/asm/cmpxchg.h +++ b/arch/powerpc/include/asm/cmpxchg.h @@ -144,7 +144,6 @@ __xchg_local(volatile void *ptr, unsigned long x, unsigned int size) * Compare and exchange - if *p == old, set it to new, * and return the old value of *p. */ -#define __HAVE_ARCH_CMPXCHG 1 static __always_inline unsigned long __cmpxchg_u32(volatile unsigned int *p, unsigned long old, unsigned long new) |