projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sched, idle: Fix the idle polling state logic
[linux-2.6-block.git]
/
include
/
linux
/
thread_info.h
diff --git
a/include/linux/thread_info.h
b/include/linux/thread_info.h
index a629e4b23217df9d0611f247c2c9144d62d662cc..fddbe2023a5d568717b3b90eabc692bb4612f9bd 100644
(file)
--- a/
include/linux/thread_info.h
+++ b/
include/linux/thread_info.h
@@
-118,6
+118,8
@@
static inline __deprecated void set_need_resched(void)
*/
}
+#define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED)
+
#if defined TIF_RESTORE_SIGMASK && !defined HAVE_SET_RESTORE_SIGMASK
/*
* An arch can define its own version of set_restore_sigmask() to get the