Commit 5b083091 authored by Steven Miao's avatar Steven Miao

blackfin: smp: fix smp build after drop asm/system.h

Signed-off-by: default avatarSteven Miao <realmz6@gmail.com>
parent 35203053
...@@ -11,7 +11,9 @@ ...@@ -11,7 +11,9 @@
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
#include <asm/barrier.h>
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/types.h>
asmlinkage int __raw_uncached_fetch_asm(const volatile int *ptr); asmlinkage int __raw_uncached_fetch_asm(const volatile int *ptr);
asmlinkage int __raw_atomic_update_asm(volatile int *ptr, int value); asmlinkage int __raw_atomic_update_asm(volatile int *ptr, int value);
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <asm-generic/bitops/non-atomic.h> #include <asm-generic/bitops/non-atomic.h>
#else #else
#include <asm/barrier.h>
#include <asm/byteorder.h> /* swab32 */ #include <asm/byteorder.h> /* swab32 */
#include <linux/linkage.h> #include <linux/linkage.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment