commit | ce90f340855d7a9b3bec24f0fe49a76904242387 | [log] [tgz] |
---|---|---|
author | Roland McGrath <roland@redhat.com> | Wed Jan 30 13:30:58 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Jan 30 13:30:58 2008 +0100 |
tree | deba4e16ad9f65e7cc80e84f3c2fc0694a4c9f73 | |
parent | 9e714bed644cb463489b9250774a4b0fb352cabc [diff] |
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>