diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-05-13 04:54:25 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-05-13 04:55:42 -0400 |
commit | a22e5f579b98f16e24b7184d01c35de26eb5a7f7 (patch) | |
tree | 2773ac00d1e8f1dba6c5c0ac0b0c2fc5805126dd /arch/parisc | |
parent | cede88418b385b50f6841e4b2f1586888b8ab924 (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/parisc')
-rw-r--r-- | arch/parisc/include/asm/cmpxchg.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/cmpxchg.h b/arch/parisc/include/asm/cmpxchg.h index dbd13354ec41..0a90b965cccb 100644 --- a/arch/parisc/include/asm/cmpxchg.h +++ b/arch/parisc/include/asm/cmpxchg.h | |||
@@ -46,8 +46,6 @@ __xchg(unsigned long x, __volatile__ void *ptr, int size) | |||
46 | #define xchg(ptr, x) \ | 46 | #define xchg(ptr, x) \ |
47 | ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) | 47 | ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) |
48 | 48 | ||
49 | #define __HAVE_ARCH_CMPXCHG 1 | ||
50 | |||
51 | /* bug catcher for when unsupported size is used - won't link */ | 49 | /* bug catcher for when unsupported size is used - won't link */ |
52 | extern void __cmpxchg_called_with_bad_pointer(void); | 50 | extern void __cmpxchg_called_with_bad_pointer(void); |
53 | 51 | ||