android_kernel_xiaomi_sm8350/arch/sh64
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
..
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
configs Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
lib Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-cayman Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-harp Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-romram Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-sim Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] arch/sh64/Kconfig: doesn't need it's own LOG_BUF_SHIFT 2005-09-05 00:06:09 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile kbuild: rename prepare to archprepare to fix dependency chain 2005-09-11 22:30:22 +02:00