[POWERPC] Use user_regset accessors for GPRs
authorRoland McGrath <roland@redhat.com>
Thu, 20 Dec 2007 11:57:55 +0000 (03:57 -0800)
committerPaul Mackerras <paulus@samba.org>
Thu, 7 Feb 2008 09:38:57 +0000 (20:38 +1100)
commit44dd3f50d3848e332b49e83a142b39b960ec962e
tree7ac549d6292129bb638106dac03eb938122a652b
parent26f7713020129e556e494fd36b2db1e651e33ba3
[POWERPC] Use user_regset accessors for GPRs

This implements user_regset-style accessors for the powerpc general
registers.  In the future these functions will be the only place that
needs to understand the user_regset layout (core dump format) and how
it maps to the internal representation of user thread state.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ptrace.c