projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
593febb
)
resume_user_mode: Remove #ifdef TIF_NOTIFY_RESUME in set_notify_resume
author
Eric W. Biederman
<ebiederm@xmission.com>
Fri, 28 Jan 2022 20:36:58 +0000
(14:36 -0600)
committer
Eric W. Biederman
<ebiederm@xmission.com>
Thu, 10 Mar 2022 22:51:50 +0000
(16:51 -0600)
Every architecture defines TIF_NOTIFY_RESUME so remove the unnecessary
ifdef.
Reviewed-by: Kees Cook <keescook@chromium.org>
Link:
https://lkml.kernel.org/r/20220309162454.123006-11-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
include/linux/tracehook.h
patch
|
blob
|
history
diff --git
a/include/linux/tracehook.h
b/include/linux/tracehook.h
index
1b7365a
..
946404e
100644
(file)
--- a/
include/linux/tracehook.h
+++ b/
include/linux/tracehook.h
@@
-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
}
/**