blackfin: smp: fix smp build after drop asm/system.h
authorSteven Miao <realmz6@gmail.com>
Wed, 8 May 2013 10:06:59 +0000 (18:06 +0800)
committerSteven Miao <realmz6@gmail.com>
Thu, 9 May 2013 05:08:45 +0000 (13:08 +0800)
Signed-off-by: Steven Miao <realmz6@gmail.com>
arch/blackfin/include/asm/atomic.h
arch/blackfin/include/asm/bitops.h

index c8db653c72d2c05f75046026cf1bc1621599d92e..a107a98e99783e4cccb9d47a87bd40c1f6de010d 100644 (file)
@@ -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);
index 8a0fed16058f217cfb6badb41dc176faa40b70af..0ca40dd44724200fc0d098a579e1c9f1b50d6c57 100644 (file)
@@ -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>