m32r: convert to generic sys_ptrace
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Oct 2007 08:26:37 +0000 (01:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:04 +0000 (09:43 -0700)
commit0ac15559150a20d39d381a6be44cdea373584222
tree10be83ffe3197f029beffd242b7ddf21dcc25a35
parentdab8f4963ae0a79b945b8ed297e30d390a9d9f50
m32r: convert to generic sys_ptrace

Convert m32r to the generic sys_ptrace.  The conversion requires an
architecture hook after ptrace_attach which this patch adds.  The hook
will also be needed for a conersion of ia64 to the generic ptrace code.

Thanks to Hirokazu Takata for fixing a bug in the first version of this
code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/kernel/ptrace.c
include/asm-m32r/ptrace.h
kernel/ptrace.c