aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-14 17:00:50 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 18:45:45 -0800
commitdf2b84a1f59567627891f5919efcedc7abd32d7a (patch)
tree10fc777bec5a53754655347e1b017481f8d5a34b
parent80bf7a5be08cc39c1edb490925a85a5f60e51a21 (diff)
cris build fixes: atomic.h needs compiler.h
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>
-rw-r--r--include/asm-cris/atomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-cris/atomic.h b/include/asm-cris/atomic.h
index 0b51a87e553..d16ab24a468 100644
--- a/include/asm-cris/atomic.h
+++ b/include/asm-cris/atomic.h
@@ -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