aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 22:29:14 +0200
committerIngo Molnar <mingo@elte.hu>2008-05-12 22:29:14 +0200
commit5aaca7a7a5db157530d195c4b93c8fc4682f8a48 (patch)
tree1c9a2a7e898c8a460bc10d7f3c5c8308188c0072 /include/linux
parent8c6b0ef2ea1bb42cd72d987389297f66cd25790b (diff)
parent9404ef02974a5411687b6c1b8ef3984305620e02 (diff)
Merge branch 'linus' into x86/urgent
Diffstat (limited to 'include/linux')
-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)
static inline int need_resched(void)
{
- return unlikely(test_tsk_need_resched(current));
+ return unlikely(test_thread_flag(TIF_NEED_RESCHED));
}
/*