diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 4ab9f32f9238..5a63f2d72af6 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 | ||
2028 | static inline int need_resched(void) | 2028 | static 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 | /* |