summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/atomic.h
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-15 02:00:50 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-15 03:45:45 +0100
commitdf2b84a1f59567627891f5919efcedc7abd32d7a (patch)
tree10fc777bec5a53754655347e1b017481f8d5a34b /include/asm-cris/atomic.h
parentcris build fixes: hardirq.h: include asm/irq.h (diff)
downloadlinux-df2b84a1f59567627891f5919efcedc7abd32d7a.tar.xz
linux-df2b84a1f59567627891f5919efcedc7abd32d7a.zip
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>
Diffstat (limited to 'include/asm-cris/atomic.h')
-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