diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-05-13 10:54:25 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-05-13 10:55:42 +0200 |
commit | a22e5f579b98f16e24b7184d01c35de26eb5a7f7 (patch) | |
tree | 2773ac00d1e8f1dba6c5c0ac0b0c2fc5805126dd /arch/powerpc/include/asm/cmpxchg.h | |
parent | locking/rtmutex: Drop usage of __HAVE_ARCH_CMPXCHG (diff) | |
download | linux-a22e5f579b98f16e24b7184d01c35de26eb5a7f7.tar.xz linux-a22e5f579b98f16e24b7184d01c35de26eb5a7f7.zip |
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) |