summaryrefslogtreecommitdiffstats
path: root/arch/cris/include/asm/cmpxchg.h
diff options
context:
space:
mode:
authorRabin Vincent2015-02-19 17:35:28 +0100
committerJesper Nilsson2015-03-25 10:55:10 +0100
commit47a8f6fb349c977ff752f979b159aef96a0bb352 (patch)
tree53c52b00d97eb5b0e284b67d66f09ed7ab9a5744 /arch/cris/include/asm/cmpxchg.h
parentCRISv32: don't enable irqs in INIT_THREAD (diff)
downloadkernel-qcow2-linux-47a8f6fb349c977ff752f979b159aef96a0bb352.tar.gz
kernel-qcow2-linux-47a8f6fb349c977ff752f979b159aef96a0bb352.tar.xz
kernel-qcow2-linux-47a8f6fb349c977ff752f979b159aef96a0bb352.zip
CRIS: remove SMP code
The CRIS SMP code cannot be built since there is no (and appears to never have been) a CONFIG_SMP Kconfig option in arch/cris/. Remove it. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Jesper Nilsson <jespern@axis.com>
Diffstat (limited to 'arch/cris/include/asm/cmpxchg.h')
-rw-r--r--arch/cris/include/asm/cmpxchg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/cris/include/asm/cmpxchg.h b/arch/cris/include/asm/cmpxchg.h
index b756dac8aa3f..deb9048a6003 100644
--- a/arch/cris/include/asm/cmpxchg.h
+++ b/arch/cris/include/asm/cmpxchg.h
@@ -46,8 +46,6 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz
(unsigned long)(n), sizeof(*(ptr))))
#define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n))
-#ifndef CONFIG_SMP
#include <asm-generic/cmpxchg.h>
-#endif
#endif /* __ASM_CRIS_CMPXCHG__ */