]> git.baikalelectronics.ru Git - kernel.git/commit
x86: x86-64 ptrace debugreg cleanup
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:52 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:52 +0000 (13:30 +0100)
commit382b5af6966a10a65b9b1927c142e94a11a1e356
tree46e45a1076777b7454fd026f006f7517229b34b7
parent29cd9d740741183fb59ef817d545053ffe0fd390
x86: x86-64 ptrace debugreg cleanup

This cleans up the 64-bit ptrace code to separate the guts of the
debug register access from the implementation of PTRACE_PEEKUSR and
PTRACE_POKEUSR.  The new functions ptrace_[gs]et_debugreg are made
global so that the ia32 code can later be changed to call them too.

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
include/asm-x86/ptrace.h