]> git.baikalelectronics.ru Git - kernel.git/commit
x86: x86-64 ptrace get/putreg 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)
commit480af4e6be78157c2f124031d7f04d24044522b3
treedeba4e16ad9f65e7cc80e84f3c2fc0694a4c9f73
parentb9e44c5225b120f9460f49a0fe068b78174ded92
x86: x86-64 ptrace get/putreg current task

This generalizes the getreg and putreg 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/kernel/ptrace_64.c