481bed4542
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> |
||
---|---|---|
.. | ||
anna-rom.ld | ||
anna.c | ||
anna.ld | ||
as85ep1-rom.ld | ||
as85ep1.c | ||
as85ep1.ld | ||
asm-offsets.c | ||
bug.c | ||
entry.S | ||
fpga85e2c.c | ||
fpga85e2c.ld | ||
gbus_int.c | ||
head.S | ||
highres_timer.c | ||
init_task.c | ||
intv.S | ||
irq.c | ||
ma.c | ||
mach.c | ||
mach.h | ||
Makefile | ||
me2.c | ||
memcons.c | ||
module.c | ||
process.c | ||
procfs.c | ||
ptrace.c | ||
rte_cb_leds.c | ||
rte_cb_multi.c | ||
rte_cb.c | ||
rte_ma1_cb-rom.ld | ||
rte_ma1_cb.c | ||
rte_ma1_cb.ld | ||
rte_mb_a_pci.c | ||
rte_me2_cb.c | ||
rte_me2_cb.ld | ||
rte_nb85e_cb-multi.ld | ||
rte_nb85e_cb.c | ||
rte_nb85e_cb.ld | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
sim85e2.c | ||
sim85e2.ld | ||
sim.c | ||
sim.ld | ||
simcons.c | ||
syscalls.c | ||
teg.c | ||
time.c | ||
v850_ksyms.c | ||
v850e2_cache.c | ||
v850e_cache.c | ||
v850e_intc.c | ||
v850e_timer_d.c | ||
v850e_utils.c | ||
vmlinux.lds.S |