From: Stephen Rothwell Date: Tue, 14 Apr 2009 09:00:48 +0000 (-0700) Subject: sparc: asm/atomic.h on 32bit should include asm/system.h for xchg X-Git-Tag: upstream/snapshot3+hdmi~18746^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7cb1521b3289e2d107d3139ad7a902b386d7e43;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git sparc: asm/atomic.h on 32bit should include asm/system.h for xchg Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller --- diff --git a/arch/sparc/include/asm/atomic_32.h b/arch/sparc/include/asm/atomic_32.h index ce46597..bb91b12 100644 --- a/arch/sparc/include/asm/atomic_32.h +++ b/arch/sparc/include/asm/atomic_32.h @@ -15,6 +15,8 @@ #ifdef __KERNEL__ +#include + #define ATOMIC_INIT(i) { (i) } extern int __atomic_add_return(int, atomic_t *);