projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e255ba
)
sparc: asm/atomic.h on 32bit should include asm/system.h for xchg
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Tue, 14 Apr 2009 09:00:48 +0000
(
02:00
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 15 Apr 2009 00:08:57 +0000
(17:08 -0700)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/atomic_32.h
patch
|
blob
|
history
diff --git
a/arch/sparc/include/asm/atomic_32.h
b/arch/sparc/include/asm/atomic_32.h
index
ce46597
..
bb91b12
100644
(file)
--- 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 *);