resume_user_mode: Move to resume_user_mode.h
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 9 Feb 2022 18:20:45 +0000 (12:20 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 10 Mar 2022 22:51:50 +0000 (16:51 -0600)
commit03248addadf1a5ef0a03cbcd5ec905b49adb9658
treeed830a987bf8cccf7e07883ea1f68259023b1d57
parentd3c51a0c8944e3a5bba458358b4c1f9ae2de0133
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>
35 files changed:
arch/Kconfig
arch/alpha/kernel/signal.c
arch/arc/kernel/signal.c
arch/arm/kernel/signal.c
arch/arm64/kernel/signal.c
arch/csky/kernel/signal.c
arch/h8300/kernel/signal.c
arch/hexagon/kernel/process.c
arch/hexagon/kernel/signal.c
arch/ia64/kernel/process.c
arch/ia64/kernel/ptrace.c
arch/ia64/kernel/signal.c
arch/m68k/kernel/signal.c
arch/microblaze/kernel/signal.c
arch/mips/kernel/signal.c
arch/nds32/kernel/signal.c
arch/nios2/kernel/signal.c
arch/openrisc/kernel/signal.c
arch/parisc/kernel/signal.c
arch/powerpc/kernel/signal.c
arch/riscv/kernel/signal.c
arch/sh/kernel/signal_32.c
arch/sparc/kernel/signal32.c
arch/sparc/kernel/signal_32.c
arch/sparc/kernel/signal_64.c
arch/um/kernel/process.c
arch/xtensa/kernel/signal.c
block/blk-cgroup.c
include/linux/entry-kvm.h
include/linux/resume_user_mode.h [new file with mode: 0644]
include/linux/tracehook.h
kernel/entry/common.c
kernel/entry/kvm.c
kernel/task_work.c
mm/memcontrol.c