summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/atomic.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-03-12 23:36:56 +0000
committerBob Liu <lliubbo@gmail.com>2012-03-21 11:00:08 +0800
commit3bed8d67469cc7129b0babc0211c32fa68408ce0 (patch)
treec0d49ca0813d61e2c4f266b7da9dcc244bf8bee5 /arch/blackfin/include/asm/atomic.h
parent0eceb82f55a9e3756cada9e60ecc3a9b7b5979f5 (diff)
downloadblackbird-obmc-linux-3bed8d67469cc7129b0babc0211c32fa68408ce0.tar.gz
blackbird-obmc-linux-3bed8d67469cc7129b0babc0211c32fa68408ce0.zip
Disintegrate asm/system.h for Blackfin [ver #2]
Disintegrate asm/system.h for Blackfin. Signed-off-by: David Howells <dhowells@redhat.com> cc: uclinux-dist-devel@blackfin.uclinux.org Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/include/asm/atomic.h')
-rw-r--r--arch/blackfin/include/asm/atomic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/atomic.h b/arch/blackfin/include/asm/atomic.h
index 54c6e2887e9f..c8db653c72d2 100644
--- a/arch/blackfin/include/asm/atomic.h
+++ b/arch/blackfin/include/asm/atomic.h
@@ -7,6 +7,8 @@
#ifndef __ARCH_BLACKFIN_ATOMIC__
#define __ARCH_BLACKFIN_ATOMIC__
+#include <asm/cmpxchg.h>
+
#ifdef CONFIG_SMP
#include <linux/linkage.h>
OpenPOWER on IntegriCloud