summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-15 04:00:50 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-15 05:45:45 +0300
commitdf2b84a1f59567627891f5919efcedc7abd32d7a (patch)
tree10fc777bec5a53754655347e1b017481f8d5a34b
parent80bf7a5be08cc39c1edb490925a85a5f60e51a21 (diff)
downloadlinux-df2b84a1f59567627891f5919efcedc7abd32d7a.tar.xz
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 0b51a87e5532..d16ab24a468e 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