diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2014-04-08 08:27:25 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2014-04-18 06:07:31 -0400 |
| commit | 08f8aeb55d7727d644dbbbbfb798fe937d47751d (patch) | |
| tree | b23b53459c4ec6b15da79c534684bcc008df9eef /include | |
| parent | 46383648b3c769fa74794ae6425ab993fc113bdb (diff) | |
sched: Remove set_need_resched()
The last user is gone now, so we can safely remove this function.
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <bitbucket@online.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/thread_info.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/thread_info.h b/include/linux/thread_info.h index fddbe2023a5d..cb0cec94fda3 100644 --- a/include/linux/thread_info.h +++ b/include/linux/thread_info.h | |||
| @@ -104,20 +104,6 @@ static inline int test_ti_thread_flag(struct thread_info *ti, int flag) | |||
| 104 | #define test_thread_flag(flag) \ | 104 | #define test_thread_flag(flag) \ |
| 105 | test_ti_thread_flag(current_thread_info(), flag) | 105 | test_ti_thread_flag(current_thread_info(), flag) |
| 106 | 106 | ||
| 107 | static inline __deprecated void set_need_resched(void) | ||
| 108 | { | ||
| 109 | /* | ||
| 110 | * Use of this function in deprecated. | ||
| 111 | * | ||
| 112 | * As of this writing there are only a few users in the DRM tree left | ||
| 113 | * all of which are wrong and can be removed without causing too much | ||
| 114 | * grief. | ||
| 115 | * | ||
| 116 | * The DRM people are aware and are working on removing the last few | ||
| 117 | * instances. | ||
| 118 | */ | ||
| 119 | } | ||
| 120 | |||
| 121 | #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED) | 107 | #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED) |
| 122 | 108 | ||
| 123 | #if defined TIF_RESTORE_SIGMASK && !defined HAVE_SET_RESTORE_SIGMASK | 109 | #if defined TIF_RESTORE_SIGMASK && !defined HAVE_SET_RESTORE_SIGMASK |
