mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
sparc: asm/atomic.h on 32bit should include asm/system.h for xchg
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8e255baa44
commit
c7cb1521b3
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@
|
|||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <asm/system.h>
|
||||
|
||||
#define ATOMIC_INIT(i) { (i) }
|
||||
|
||||
extern int __atomic_add_return(int, atomic_t *);
|
||||
|
|
Loading…
Reference in a new issue