]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uml: use ptrace directly in libc code
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Feb 2008 06:30:57 +0000 (22:30 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:28 +0000 (09:44 -0800)
commitd25f2e1235aab716c9fd6ba36c42503627a3a0e3
tree5eaabe739be50f1417707fb6eef2da75dc567a30
parentee3d9bd4de1ed93d2a7ee41c331ed30a1c7b8acd
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>
arch/um/include/registers.h
arch/um/kernel/process.c
arch/um/os-Linux/registers.c
arch/um/os-Linux/skas/process.c