ptrace: generic resume
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:51 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:51 +0000 (13:30 +0100)
commit36df29d7994180cf7f0ccc5d46495855d56d2721
tree3291b504ef268714ea40de90b297dba62f11206b
parente1f287735c1e58c653b516931b5d3dd899edcb77
ptrace: generic resume

This makes ptrace_request handle all the ptrace requests that wake
up the traced task.  These do low-level ptrace implementation magic
that is not arch-specific and should be kept out of arch code.  The
implementations on each arch usually do the same thing.  The new
generic code makes use of the arch_has_single_step macro and generic
entry points to handle PTRACE_SINGLESTEP.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/ptrace.c