Commit d3c51a0c authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

resume_user_mode: Remove #ifdef TIF_NOTIFY_RESUME in set_notify_resume



Every architecture defines TIF_NOTIFY_RESUME so remove the unnecessary
ifdef.

Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20220309162454.123006-11-ebiederm@xmission.com


Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 593febb1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -63,10 +63,8 @@ struct linux_binprm;
 */
static inline void set_notify_resume(struct task_struct *task)
{
#ifdef TIF_NOTIFY_RESUME
	if (!test_and_set_tsk_thread_flag(task, TIF_NOTIFY_RESUME))
		kick_process(task);
#endif
}

/**