diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-04-14 14:27:09 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-04-14 14:28:40 +1000 |
commit | c0fb23de76b5d0b7745da934b28a7542fd952df7 (patch) | |
tree | bc6cfc065a275db5ec51bb564b5391e1df36b1e7 | |
parent | b658e999ed92887e447fa53c21a2a7b9442aed59 (diff) |
sparc: asm/atomic.h on 32bit should include asm/system.h for xchg
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | arch/sparc/include/asm/atomic_32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/atomic_32.h b/arch/sparc/include/asm/atomic_32.h index ce465975a6a5..bb91b1248cd1 100644 --- a/arch/sparc/include/asm/atomic_32.h +++ b/arch/sparc/include/asm/atomic_32.h @@ -15,6 +15,8 @@ #ifdef __KERNEL__ +#include <asm/system.h> + #define ATOMIC_INIT(i) { (i) } extern int __atomic_add_return(int, atomic_t *); |