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:
Stephen Rothwell 2009-04-14 02:00:48 -07:00 committed by David S. Miller
parent 8e255baa44
commit c7cb1521b3
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@
#ifdef __KERNEL__
#include <asm/system.h>
#define ATOMIC_INIT(i) { (i) }
extern int __atomic_add_return(int, atomic_t *);