ptrace: unify FDPIC implementations
authorMike Frysinger <vapier@gentoo.org>
Wed, 26 May 2010 21:42:52 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:44 +0000 (09:12 -0700)
commit9c1a125921d146f22cf28ff366ff69fd602a0e9b
tree37df1b2ae74c23371de7e8b46427fc0a16727cdb
parent0ac0c0d0f837c499afd02a802f9cf52d3027fa3b
ptrace: unify FDPIC implementations

The Blackfin/FRV/SuperH guys all have the same exact FDPIC ptrace code in
their arch handlers (since they were probably copied & pasted).  Since
these ptrace interfaces are an arch independent aspect of the FDPIC code,
unify them in the common ptrace code so new FDPIC ports don't need to copy
and paste this fundamental stuff yet again.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Roland McGrath <roland@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/blackfin/kernel/ptrace.c
arch/frv/kernel/ptrace.c
arch/sh/kernel/ptrace_32.c
kernel/ptrace.c