summaryrefslogtreecommitdiffstats
path: root/include/asm-cris
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-11-15 02:00:51 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-15 03:45:45 +0100
commit9587997a4a9f74901981e0a751a7ae0e46a72b94 (patch)
tree99ae16bbe65cb035f1a7b88f1020bf0989177bce /include/asm-cris
parentcris build fixes: atomic.h needs compiler.h (diff)
downloadlinux-9587997a4a9f74901981e0a751a7ae0e46a72b94.tar.xz
linux-9587997a4a9f74901981e0a751a7ae0e46a72b94.zip
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/asm-cris')
-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 d16ab24a468e..2949a945876a 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