From ab254710cf0562132ce26ab1f6e3799ee3ce0352 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 12 May 2008 10:14:22 -0700 Subject: [PATCH] --- yaml --- r: 96439 b: refs/heads/master c: 9404ef02974a5411687b6c1b8ef3984305620e02 h: refs/heads/master i: 96437: b091811885f0997672713020212773abdb90417a 96435: d5ec86601ba2c51f5f7c925d60c4813d5c5d811f 96431: b927c06fa04265b725b93c67659f0a14233429a2 v: v3 --- [refs] | 2 +- trunk/include/linux/sched.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 62f7ba29b8b6..e2fdac08e65a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2b753a1599a28612851a2908abdbf86802c989c5 +refs/heads/master: 9404ef02974a5411687b6c1b8ef3984305620e02 diff --git a/trunk/include/linux/sched.h b/trunk/include/linux/sched.h index 4ab9f32f9238..5a63f2d72af6 100644 --- a/trunk/include/linux/sched.h +++ b/trunk/include/linux/sched.h @@ -2027,7 +2027,7 @@ static inline int fatal_signal_pending(struct task_struct *p) static inline int need_resched(void) { - return unlikely(test_tsk_need_resched(current)); + return unlikely(test_thread_flag(TIF_NEED_RESCHED)); } /*