diff options
Diffstat (limited to 'include/linux/thread_info.h')
| -rw-r--r-- | include/linux/thread_info.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/thread_info.h b/include/linux/thread_info.h index fddbe2023a5d..ff307b548ed3 100644 --- a/include/linux/thread_info.h +++ b/include/linux/thread_info.h | |||
| @@ -61,8 +61,6 @@ extern long do_no_restart_syscall(struct restart_block *parm); | |||
| 61 | # define THREADINFO_GFP (GFP_KERNEL | __GFP_NOTRACK) | 61 | # define THREADINFO_GFP (GFP_KERNEL | __GFP_NOTRACK) |
| 62 | #endif | 62 | #endif |
| 63 | 63 | ||
| 64 | #define THREADINFO_GFP_ACCOUNTED (THREADINFO_GFP | __GFP_KMEMCG) | ||
| 65 | |||
| 66 | /* | 64 | /* |
| 67 | * flag set/clear/test wrappers | 65 | * flag set/clear/test wrappers |
| 68 | * - pass TIF_xxxx constants to these functions | 66 | * - pass TIF_xxxx constants to these functions |
| @@ -104,20 +102,6 @@ static inline int test_ti_thread_flag(struct thread_info *ti, int flag) | |||
| 104 | #define test_thread_flag(flag) \ | 102 | #define test_thread_flag(flag) \ |
| 105 | test_ti_thread_flag(current_thread_info(), flag) | 103 | test_ti_thread_flag(current_thread_info(), flag) |
| 106 | 104 | ||
| 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) | 105 | #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED) |
| 122 | 106 | ||
| 123 | #if defined TIF_RESTORE_SIGMASK && !defined HAVE_SET_RESTORE_SIGMASK | 107 | #if defined TIF_RESTORE_SIGMASK && !defined HAVE_SET_RESTORE_SIGMASK |
