提交 c7cb1521 编写于 作者: S Stephen Rothwell 提交者: David S. Miller

sparc: asm/atomic.h on 32bit should include asm/system.h for xchg

Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8e255baa
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <asm/system.h>
#define ATOMIC_INIT(i) { (i) } #define ATOMIC_INIT(i) { (i) }
extern int __atomic_add_return(int, atomic_t *); extern int __atomic_add_return(int, atomic_t *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册