x86: x86 ptrace user_regset
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:31:54 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:54 +0000 (13:31 +0100)
commit5a4646a4efed8c835f76c3b88f3155f6ab5b8d9b
treeec056ab850e3551e4e7e046d7652d3b01e311b05
parent975511be74d1b82bf041aaed2861a242abfe3886
x86: x86 ptrace user_regset

This cleans up the PTRACE_*REGS* request code so each one is just a
simple call to copy_regset_to_user or copy_regset_from_user.  The
ptrace layouts already match the user_regset formats (core dump formats).

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/ptrace.c