x86: x86-64 ia32 ptrace pt_regs cleanup
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:57 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:57 +0000 (13:30 +0100)
commitff14c6164bd532a6dc9025c07d3b562f839f00a9
tree41c752b7cd0e8c9cfa9013887409dd3fbf140617
parent35d0991ffa544945d2e1992169c097286b7c0bfb
x86: x86-64 ia32 ptrace pt_regs cleanup

This cleans up the getreg32/putreg32 functions to use struct pt_regs in a
straightforward fashion, instead of equivalent ugly pointer arithmetic.

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