@@ -92,7 +92,6 @@ struct thread_info {
9292#define TIF_NOCPUID 15 /* CPUID is not accessible in userland */
9393#define TIF_NOTSC 16 /* TSC is not accessible in userland */
9494#define TIF_IA32 17 /* IA32 compatibility process */
95- #define TIF_NOHZ 19 /* in adaptive nohz mode */
9695#define TIF_MEMDIE 20 /* is terminating due to OOM killer */
9796#define TIF_POLLING_NRFLAG 21 /* idle is polling for TIF_NEED_RESCHED */
9897#define TIF_IO_BITMAP 22 /* uses I/O bitmap */
@@ -122,7 +121,6 @@ struct thread_info {
122121#define _TIF_NOCPUID (1 << TIF_NOCPUID)
123122#define _TIF_NOTSC (1 << TIF_NOTSC)
124123#define _TIF_IA32 (1 << TIF_IA32)
125- #define _TIF_NOHZ (1 << TIF_NOHZ)
126124#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)
127125#define _TIF_IO_BITMAP (1 << TIF_IO_BITMAP)
128126#define _TIF_FORCED_TF (1 << TIF_FORCED_TF)
@@ -133,14 +131,10 @@ struct thread_info {
133131#define _TIF_X32 (1 << TIF_X32)
134132#define _TIF_FSCHECK (1 << TIF_FSCHECK)
135133
136- /*
137- * work to do in syscall_trace_enter(). Also includes TIF_NOHZ for
138- * enter_from_user_mode()
139- */
134+ /* Work to do before invoking the actual syscall. */
140135#define _TIF_WORK_SYSCALL_ENTRY \
141136 (_TIF_SYSCALL_TRACE | _TIF_SYSCALL_EMU | _TIF_SYSCALL_AUDIT | \
142- _TIF_SECCOMP | _TIF_SYSCALL_TRACEPOINT | \
143- _TIF_NOHZ)
137+ _TIF_SECCOMP | _TIF_SYSCALL_TRACEPOINT)
144138
145139/* flags to check in __switch_to() */
146140#define _TIF_WORK_CTXSW_BASE \
0 commit comments