Commit c7cb1521 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by David S. Miller

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

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment