sparc: asm/atomic.h on 32bit should include asm/system.h for xchg
[pandora-kernel.git] / arch / sparc / include / asm / atomic_32.h
index ce46597..bb91b12 100644 (file)
@@ -15,6 +15,8 @@
 
 #ifdef __KERNEL__
 
+#include <asm/system.h>
+
 #define ATOMIC_INIT(i)  { (i) }
 
 extern int __atomic_add_return(int, atomic_t *);