summaryrefslogtreecommitdiff
path: root/arch/alpha
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-06-08 19:21:07 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2022-10-24 01:06:54 +0300
commit6a542d1d5f6c814fd3643b43e85b21757c1e363b (patch)
tree1e943db8fab83a63d7057877064e771d2cbf0167 /arch/alpha
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
downloadlinux-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')
-rw-r--r--arch/alpha/include/asm/ptrace.h1
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)