mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-09 20:16:13 +00:00
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> |
||
|---|---|---|
| .. | ||
| cpu | ||
| asm-offsets.c | ||
| cf-enabler.c | ||
| cpufreq.c | ||
| early_printk.c | ||
| entry.S | ||
| head.S | ||
| init_task.c | ||
| io_generic.c | ||
| io.c | ||
| irq.c | ||
| kgdb_jmp.S | ||
| kgdb_stub.c | ||
| Makefile | ||
| module.c | ||
| process.c | ||
| ptrace.c | ||
| semaphore.c | ||
| setup.c | ||
| sh_bios.c | ||
| sh_ksyms.c | ||
| signal.c | ||
| smp.c | ||
| sys_sh.c | ||
| time.c | ||
| traps.c | ||
| vmlinux.lds.S | ||