summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-11-14 17:00:51 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 18:45:45 -0800
commit9587997a4a9f74901981e0a751a7ae0e46a72b94 (patch)
tree99ae16bbe65cb035f1a7b88f1020bf0989177bce /include
parentdf2b84a1f59567627891f5919efcedc7abd32d7a (diff)
downloadop-kernel-dev-9587997a4a9f74901981e0a751a7ae0e46a72b94.zip
op-kernel-dev-9587997a4a9f74901981e0a751a7ae0e46a72b94.tar.gz
cris-build-fixes-atomich-needs-compilerh-fix
Cc: Jesper Nilsson <jesper.nilsson@axis.com> Cc: 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')
-rw-r--r--include/asm-cris/atomic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-cris/atomic.h b/include/asm-cris/atomic.h
index d16ab24..2949a94 100644
--- a/include/asm-cris/atomic.h
+++ b/include/asm-cris/atomic.h
@@ -3,9 +3,10 @@
#ifndef __ASM_CRIS_ATOMIC__
#define __ASM_CRIS_ATOMIC__
+#include <linux/compiler.h>
+
#include <asm/system.h>
#include <asm/arch/atomic.h>
-#include <linux/compiler.h>
/*
* Atomic operations that C can't guarantee us. Useful for
OpenPOWER on IntegriCloud