aboutsummaryrefslogtreecommitdiff
path: root/include/linux/thread_info.h
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-12-02 11:07:39 +0000
committerMark Brown <broonie@linaro.org>2013-12-02 11:07:39 +0000
commitcc1aba63160a29830b9184204e4b2fb96ba47a08 (patch)
tree3bfc9df8f2fd1c6d738026888e2e4dbc2d1e81e9 /include/linux/thread_info.h
parent8c227d3b86c422e71dae2c2022b29c777f814357 (diff)
parent4421cbec4387a2003646b061bf2210b268997444 (diff)
Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android
Diffstat (limited to 'include/linux/thread_info.h')
-rw-r--r--include/linux/thread_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/thread_info.h b/include/linux/thread_info.h
index e7e04736802..4ae6f32c803 100644
--- a/include/linux/thread_info.h
+++ b/include/linux/thread_info.h
@@ -107,6 +107,8 @@ static inline int test_ti_thread_flag(struct thread_info *ti, int flag)
#define set_need_resched() set_thread_flag(TIF_NEED_RESCHED)
#define clear_need_resched() clear_thread_flag(TIF_NEED_RESCHED)
+#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