diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-06-08 19:21:07 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-10-24 01:06:54 +0300 |
commit | 6a542d1d5f6c814fd3643b43e85b21757c1e363b (patch) | |
tree | 1e943db8fab83a63d7057877064e771d2cbf0167 /arch/alpha/include | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) | |
download | linux-6a542d1d5f6c814fd3643b43e85b21757c1e363b.tar.xz |
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 'arch/alpha/include')
-rw-r--r-- | arch/alpha/include/asm/ptrace.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/ptrace.h b/arch/alpha/include/asm/ptrace.h index df5f317ab3fc..3557ce64ed21 100644 --- a/arch/alpha/include/asm/ptrace.h +++ b/arch/alpha/include/asm/ptrace.h @@ -16,7 +16,6 @@ #define current_pt_regs() \ ((struct pt_regs *) ((char *)current_thread_info() + 2*PAGE_SIZE) - 1) -#define signal_pt_regs current_pt_regs #define force_successful_syscall_return() (current_pt_regs()->r0 = 0) |