cris build fixes: atomic.h needs compiler.h
authorJesper Nilsson <[email protected]>
Thu, 15 Nov 2007 01:00:50 +0000 (17:00 -0800)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Acked-by: Mikael Starvik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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