]> git.baikalelectronics.ru Git - kernel.git/commit
x86: x86-64 ia32 ptrace get/putreg32 current task
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:58 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:58 +0000 (13:30 +0100)
commit1ebcb49a02edfc76b96612f2b0c3f219e76fc1d6
treea42aa151708c71094a856ffefc7f6cf566228328
parent41caab7753e6119a64ff8ab652bf19ffa533e838
x86: x86-64 ia32 ptrace get/putreg32 current task

This generalizes the getreg32 and putreg32 functions so they can be used on
the current task, as well as on a task stopped in TASK_TRACED and switched
off.  This lays the groundwork to share this code for all kinds of
user-mode machine state access, not just ptrace.

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/ia32/ptrace32.c