diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-06-08 12:21:07 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-10-23 18:06:54 -0400 |
commit | 6a542d1d5f6c814fd3643b43e85b21757c1e363b (patch) | |
tree | 1e943db8fab83a63d7057877064e771d2cbf0167 /kernel/signal.c | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) |
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 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index d140672185a4..848d5c282d35 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -1255,7 +1255,7 @@ int send_signal_locked(int sig, struct kernel_siginfo *info, static void print_fatal_signal(int signr) { - struct pt_regs *regs = signal_pt_regs(); + struct pt_regs *regs = task_pt_regs(current); pr_info("potentially unexpected fatal signal %d.\n", signr); #if defined(__i386__) && !defined(__arch_um__) |