Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7cb1521 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by David S. Miller
Browse files

sparc: asm/atomic.h on 32bit should include asm/system.h for xchg

parent 8e255baa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@

#ifdef __KERNEL__

#include <asm/system.h>

#define ATOMIC_INIT(i)  { (i) }

extern int __atomic_add_return(int, atomic_t *);