diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-06-08 18:21:07 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-10-24 00:06:54 +0200 |
commit | 6a542d1d5f6c814fd3643b43e85b21757c1e363b (patch) | |
tree | 1e943db8fab83a63d7057877064e771d2cbf0167 /fs/coredump.c | |
parent | Linux 6.1-rc1 (diff) | |
download | linux-6a542d1d5f6c814fd3643b43e85b21757c1e363b.tar.xz linux-6a542d1d5f6c814fd3643b43e85b21757c1e363b.zip |
kill signal_pt_regs()
Once upon at it was used on hot paths, but that had not been
true since 2013. IOW, there's no point for arch-optimized
equivalent of task_pt_regs(current) - remaining two users are
not worth bothering with.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/coredump.c')
-rw-r--r-- | fs/coredump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coredump.c b/fs/coredump.c index 7bad7785e8e6..b4ec1bf889f9 100644 --- a/fs/coredump.c +++ b/fs/coredump.c @@ -525,7 +525,7 @@ void do_coredump(const kernel_siginfo_t *siginfo) static atomic_t core_dump_count = ATOMIC_INIT(0); struct coredump_params cprm = { .siginfo = siginfo, - .regs = signal_pt_regs(), + .regs = task_pt_regs(current), .limit = rlimit(RLIMIT_CORE), /* * We must use the same mm->flags while dumping core to avoid |