aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 25c50317ddc1..e09dafa6e149 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1203,6 +1203,7 @@ struct task_struct {
1203 int lock_depth; /* BKL lock depth */ 1203 int lock_depth; /* BKL lock depth */
1204 1204
1205#ifdef CONFIG_SMP 1205#ifdef CONFIG_SMP
1206 struct task_struct *wake_entry;
1206 int on_cpu; 1207 int on_cpu;
1207#endif 1208#endif
1208 int on_rq; 1209 int on_rq;
@@ -2192,7 +2193,7 @@ extern void set_task_comm(struct task_struct *tsk, char *from);
2192extern char *get_task_comm(char *to, struct task_struct *tsk); 2193extern char *get_task_comm(char *to, struct task_struct *tsk);
2193 2194
2194#ifdef CONFIG_SMP 2195#ifdef CONFIG_SMP
2195static inline void scheduler_ipi(void) { } 2196void scheduler_ipi(void);
2196extern unsigned long wait_task_inactive(struct task_struct *, long match_state); 2197extern unsigned long wait_task_inactive(struct task_struct *, long match_state);
2197#else 2198#else
2198static inline void scheduler_ipi(void) { } 2199static inline void scheduler_ipi(void) { }