aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4ab9f32f923..5a63f2d72af 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2027,7 +2027,7 @@ static inline int fatal_signal_pending(struct task_struct *p)
2027 2027
2028static inline int need_resched(void) 2028static inline int need_resched(void)
2029{ 2029{
2030 return unlikely(test_tsk_need_resched(current)); 2030 return unlikely(test_thread_flag(TIF_NEED_RESCHED));
2031} 2031}
2032 2032
2033/* 2033/*