diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-21 02:39:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-22 21:03:17 -0400 |
commit | bee18bebda46bc112916a5124a23a9c7b244b82d (patch) | |
tree | 043677f8e2b8f133d029bfc9e0b083d0cd0937b5 /arch/blackfin | |
parent | 4e3d96deff59d126cfa289645e136e295e65480f (diff) | |
download | blackbird-op-linux-bee18bebda46bc112916a5124a23a9c7b244b82d.tar.gz blackbird-op-linux-bee18bebda46bc112916a5124a23a9c7b244b82d.zip |
Blackfin: enable atomic64_t support
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/Kconfig | 1 | ||||
-rw-r--r-- | arch/blackfin/include/asm/atomic.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 01615d4f57d6..672c21632f2f 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig @@ -31,6 +31,7 @@ config BLACKFIN select HAVE_OPROFILE select ARCH_WANT_OPTIONAL_GPIOLIB select HAVE_GENERIC_HARDIRQS + select GENERIC_ATOMIC64 select GENERIC_IRQ_PROBE select IRQ_PER_CPU if SMP select GENERIC_HARDIRQS_NO_DEPRECATED diff --git a/arch/blackfin/include/asm/atomic.h b/arch/blackfin/include/asm/atomic.h index d27c6274247d..e48508957160 100644 --- a/arch/blackfin/include/asm/atomic.h +++ b/arch/blackfin/include/asm/atomic.h @@ -121,4 +121,6 @@ static inline int atomic_test_mask(int mask, atomic_t *v) #endif +#include <asm-generic/atomic64.h> + #endif |