1
linux/arch
Christoph Hellwig 481bed4542 [PATCH] consolidate sys_ptrace()
The sys_ptrace boilerplate code (everything outside the big switch
statement for the arch-specific requests) is shared by most architectures.
This patch moves it to kernel/ptrace.c and leaves the arch-specific code as
arch_ptrace.

Some architectures have a too different ptrace so we have to exclude them.
They continue to keep their implementations.  For sh64 I had to add a
sh64_ptrace wrapper because it does some initialization on the first call.
For um I removed an ifdefed SUBARCH_PTRACE_SPECIAL block, but
SUBARCH_PTRACE_SPECIAL isn't defined anywhere in the tree.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Paul Mackerras <paulus@samba.org>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-By: David Howells <dhowells@redhat.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:53:42 -08:00
..
alpha [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
arm [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
arm26 [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
cris [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
frv [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
h8300 [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
i386 [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
ia64 [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
m32r Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
m68k [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
m68knommu [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
mips [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
parisc [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
powerpc [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
ppc [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
ppc64 [PATCH] ppc64: Fix zImage boot 2005-11-07 07:53:23 -08:00
s390 [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
sh [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
sh64 [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
sparc [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sparc64 [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
um [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
v850 [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
x86_64 [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
xtensa [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00