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 /include/linux/ptrace.h | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) | |
download | linux-6a542d1d5f6c814fd3643b43e85b21757c1e363b.tar.gz linux-6a542d1d5f6c814fd3643b43e85b21757c1e363b.tar.bz2 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 'include/linux/ptrace.h')
-rw-r--r-- | include/linux/ptrace.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index c952c5ba8fab..eaaef3ffec22 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h @@ -389,15 +389,6 @@ static inline void user_single_step_report(struct pt_regs *regs) #define current_pt_regs() task_pt_regs(current) #endif -/* - * unlike current_pt_regs(), this one is equal to task_pt_regs(current) - * on *all* architectures; the only reason to have a per-arch definition - * is optimisation. - */ -#ifndef signal_pt_regs -#define signal_pt_regs() task_pt_regs(current) -#endif - #ifndef current_user_stack_pointer #define current_user_stack_pointer() user_stack_pointer(current_pt_regs()) #endif |