diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2023-11-10 14:03:47 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-01-05 18:28:57 +0300 |
commit | 1e41c415e21ff03ddf5c3725b608d0e4f0c239e3 (patch) | |
tree | eec36d7248634f1aafc700dd9ba4bba0b8bd6590 /arch/um/include | |
parent | 1ca1443570e4085c180ecc657d319c21b22a76f6 (diff) | |
download | linux-1e41c415e21ff03ddf5c3725b608d0e4f0c239e3.tar.xz |
um: Remove unused register save/restore functions
These functions were only used when calling PTRACE_ARCH_PRCTL, but this
code has been removed.
Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/shared/registers.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/include/shared/registers.h b/arch/um/include/shared/registers.h index 2f9c3ce5b45e..a0450326521c 100644 --- a/arch/um/include/shared/registers.h +++ b/arch/um/include/shared/registers.h @@ -14,8 +14,6 @@ extern int save_fp_registers(int pid, unsigned long *fp_regs); extern int restore_fp_registers(int pid, unsigned long *fp_regs); extern int save_fpx_registers(int pid, unsigned long *fp_regs); extern int restore_fpx_registers(int pid, unsigned long *fp_regs); -extern int save_registers(int pid, struct uml_pt_regs *regs); -extern int restore_pid_registers(int pid, struct uml_pt_regs *regs); extern int init_pid_registers(int pid); extern void get_safe_registers(unsigned long *regs, unsigned long *fp_regs); extern int get_fp_registers(int pid, unsigned long *regs); |