aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-cris/atomic.h
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-14 20:00:50 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 21:45:45 -0500
commitdf2b84a1f59567627891f5919efcedc7abd32d7a (patch)
tree10fc777bec5a53754655347e1b017481f8d5a34b /include/asm-cris/atomic.h
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>
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 @@
5 5
6#include <asm/system.h> 6#include <asm/system.h>
7#include <asm/arch/atomic.h> 7#include <asm/arch/atomic.h>
8#include <linux/compiler.h>
8 9
9/* 10/*
10 * Atomic operations that C can't guarantee us. Useful for 11 * Atomic operations that C can't guarantee us. Useful for