diff options
author | Steven Miao <realmz6@gmail.com> | 2013-05-08 14:06:59 +0400 |
---|---|---|
committer | Steven Miao <realmz6@gmail.com> | 2013-05-09 09:08:45 +0400 |
commit | 5b0830914ae423c840a01ccdfac2dbf1dd1a426b (patch) | |
tree | b16d3b2defbbac6c850f4cf393d22cdecba48ffb /arch | |
parent | 352030530c4b6906a30a8d7dba13bfbf7fbdbdd1 (diff) | |
download | linux-5b0830914ae423c840a01ccdfac2dbf1dd1a426b.tar.xz |
blackfin: smp: fix smp build after drop asm/system.h
Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/include/asm/atomic.h | 2 | ||||
-rw-r--r-- | arch/blackfin/include/asm/bitops.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/atomic.h b/arch/blackfin/include/asm/atomic.h index c8db653c72d2..a107a98e9978 100644 --- a/arch/blackfin/include/asm/atomic.h +++ b/arch/blackfin/include/asm/atomic.h @@ -11,7 +11,9 @@ #ifdef CONFIG_SMP +#include <asm/barrier.h> #include <linux/linkage.h> +#include <linux/types.h> asmlinkage int __raw_uncached_fetch_asm(const volatile int *ptr); asmlinkage int __raw_atomic_update_asm(volatile int *ptr, int value); diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h index 8a0fed16058f..0ca40dd44724 100644 --- a/arch/blackfin/include/asm/bitops.h +++ b/arch/blackfin/include/asm/bitops.h @@ -41,6 +41,7 @@ #include <asm-generic/bitops/non-atomic.h> #else +#include <asm/barrier.h> #include <asm/byteorder.h> /* swab32 */ #include <linux/linkage.h> |