[POWERPC] ptrace accessors for special regs MSR and TRAP
authorRoland McGrath <roland@redhat.com>
Thu, 20 Dec 2007 11:57:51 +0000 (03:57 -0800)
committerPaul Mackerras <paulus@samba.org>
Thu, 7 Feb 2008 09:38:56 +0000 (20:38 +1100)
commit26f7713020129e556e494fd36b2db1e651e33ba3
tree3c066f2eeb71a2742c9e3b99666a2603d935bdd0
parenta4e4b175b6028ebfb2217e0ca1fa0487dc73ccc4
[POWERPC] ptrace accessors for special regs MSR and TRAP

This isolates the ptrace code for the special-case registers msr and trap
from the ptrace-layout dispatch code.  This should inline away completely.
It cleanly separates the low-level machine magic that has to be done for
deep reasons, from the superficial details of the ptrace interface.

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