diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2022-02-09 19:20:45 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2022-03-10 23:51:50 +0100 |
commit | 03248addadf1a5ef0a03cbcd5ec905b49adb9658 (patch) | |
tree | ed830a987bf8cccf7e07883ea1f68259023b1d57 /mm/memcontrol.c | |
parent | resume_user_mode: Remove #ifdef TIF_NOTIFY_RESUME in set_notify_resume (diff) | |
download | linux-03248addadf1a5ef0a03cbcd5ec905b49adb9658.tar.xz linux-03248addadf1a5ef0a03cbcd5ec905b49adb9658.zip |
resume_user_mode: Move to resume_user_mode.h
Move set_notify_resume and tracehook_notify_resume into resume_user_mode.h.
While doing that rename tracehook_notify_resume to resume_user_mode_work.
Update all of the places that included tracehook.h for these functions to
include resume_user_mode.h instead.
Update all of the callers of tracehook_notify_resume to call
resume_user_mode_work.
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20220309162454.123006-12-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r-- | mm/memcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 09d342c7cbd0..2aaa400f34d6 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -59,7 +59,7 @@ #include <linux/oom.h> #include <linux/lockdep.h> #include <linux/file.h> -#include <linux/tracehook.h> +#include <linux/resume_user_mode.h> #include <linux/psi.h> #include <linux/seq_buf.h> #include "internal.h" |