summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/system.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-arm/system.h b/include/asm-arm/system.h
index 146a814e53a2..cafe9531cf01 100644
--- a/include/asm-arm/system.h
+++ b/include/asm-arm/system.h
@@ -98,9 +98,10 @@
#ifndef __ASSEMBLY__
-#include <linux/kernel.h>
+#include <linux/linkage.h>
struct thread_info;
+struct task_struct;
/* information about the system we're running on */
extern unsigned int system_rev;
@@ -203,8 +204,6 @@ do { \
* `prev' will never be the same as `next'. schedule() itself
* contains the memory barrier to tell GCC not to cache `current'.
*/
-struct thread_info;
-struct task_struct;
extern struct task_struct *__switch_to(struct task_struct *, struct thread_info *, struct thread_info *);
#define switch_to(prev,next,last) \