]> err.no Git - linux-2.6/commitdiff
cris build fixes: atomic.h needs compiler.h
authorJesper Nilsson <jesper.nilsson@axis.com>
Thu, 15 Nov 2007 01:00:50 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:45 +0000 (18:45 -0800)
Include file linux/compiler.h is needed for 'likely'.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Acked-by: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-cris/atomic.h

index 0b51a87e5532e9025111b6c5177bf8c964d58f22..d16ab24a468e606cb2cba6e42f7d3c889c998736 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <asm/system.h>
 #include <asm/arch/atomic.h>
+#include <linux/compiler.h>
 
 /*
  * Atomic operations that C can't guarantee us.  Useful for