summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/thread_info.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-16 17:23:57 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-16 17:23:57 +0000
commit8dc39b883e9497445b53c498be7493c3e43af006 (patch)
treec2d14a82bcfd02687db8d27072bcd8fa7b02df75 /include/asm-arm/thread_info.h
parent994e12805336f899d0ec1cf38a99c7b6405d144a (diff)
downloadop-kernel-dev-8dc39b883e9497445b53c498be7493c3e43af006.zip
op-kernel-dev-8dc39b883e9497445b53c498be7493c3e43af006.tar.gz
[ARM] Add linux/compiler.h includes where required
atomic.h, bitops.h and mmu_context.h are using likely/unlikely. thread_info.h uses __attribute_const__. Hence these files require linux/compiler.h to be included. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/thread_info.h')
-rw-r--r--include/asm-arm/thread_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/thread_info.h b/include/asm-arm/thread_info.h
index 8252a4c..7c98557 100644
--- a/include/asm-arm/thread_info.h
+++ b/include/asm-arm/thread_info.h
@@ -12,6 +12,7 @@
#ifdef __KERNEL__
+#include <linux/compiler.h>
#include <asm/fpstate.h>
#define THREAD_SIZE_ORDER 1
OpenPOWER on IntegriCloud