aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 3e6e669db92b..ade13badfacc 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -126,6 +126,7 @@ struct sched_attr {
126}; 126};
127 127
128#include <litmus/rt_param.h> 128#include <litmus/rt_param.h>
129#include <litmus/preempt.h>
129 130
130struct futex_pi_state; 131struct futex_pi_state;
131struct robust_list_head; 132struct robust_list_head;
@@ -2784,6 +2785,7 @@ static inline int test_tsk_thread_flag(struct task_struct *tsk, int flag)
2784static inline void set_tsk_need_resched(struct task_struct *tsk) 2785static inline void set_tsk_need_resched(struct task_struct *tsk)
2785{ 2786{
2786 set_tsk_thread_flag(tsk,TIF_NEED_RESCHED); 2787 set_tsk_thread_flag(tsk,TIF_NEED_RESCHED);
2788 sched_state_will_schedule(tsk);
2787} 2789}
2788 2790
2789static inline void clear_tsk_need_resched(struct task_struct *tsk) 2791static inline void clear_tsk_need_resched(struct task_struct *tsk)