diff options
author | Jeff Dike <jdike@addtoit.com> | 2008-02-05 01:30:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:28 -0500 |
commit | d25f2e1235aab716c9fd6ba36c42503627a3a0e3 (patch) | |
tree | 5eaabe739be50f1417707fb6eef2da75dc567a30 /arch/um/include | |
parent | ee3d9bd4de1ed93d2a7ee41c331ed30a1c7b8acd (diff) |
uml: use ptrace directly in libc code
Some register accessor cleanups -
userspace() was calling restore_registers and save_registers for no
reason, since userspace() is on the libc side of the house, and these
add no value over calling ptrace directly
init_thread_registers and get_safe_registers were the same thing,
so init_thread_registers is gone
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/registers.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/include/registers.h b/arch/um/include/registers.h index 0e27406a43a4..6df37480cb8c 100644 --- a/arch/um/include/registers.h +++ b/arch/um/include/registers.h | |||
@@ -9,7 +9,6 @@ | |||
9 | #include "sysdep/ptrace.h" | 9 | #include "sysdep/ptrace.h" |
10 | #include "sysdep/archsetjmp.h" | 10 | #include "sysdep/archsetjmp.h" |
11 | 11 | ||
12 | extern void init_thread_registers(struct uml_pt_regs *to); | ||
13 | extern int save_fp_registers(int pid, unsigned long *fp_regs); | 12 | extern int save_fp_registers(int pid, unsigned long *fp_regs); |
14 | extern int restore_fp_registers(int pid, unsigned long *fp_regs); | 13 | extern int restore_fp_registers(int pid, unsigned long *fp_regs); |
15 | extern int save_fpx_registers(int pid, unsigned long *fp_regs); | 14 | extern int save_fpx_registers(int pid, unsigned long *fp_regs); |