android_kernel_xiaomi_sm8350/arch/sparc
Christoph Hellwig 6b9c7ed848 [PATCH] use ptrace_get_task_struct in various places
The ptrace_get_task_struct() helper that I added as part of the ptrace
consolidation is useful in variety of places that currently opencode it.
Switch them to the common helpers.

Add a ptrace_traceme() helper that needs to be explicitly called, and simplify
the ptrace_get_task_struct() interface.  We don't need the request argument
now, and we return the task_struct directly, using ERR_PTR() for error
returns.  It's a bit more code in the callers, but we have two sane routines
that do one thing well now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-08 20:13:51 -08:00
..
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [PATCH] use ptrace_get_task_struct in various places 2006-01-08 20:13:51 -08:00
lib [SPARC]: atomic_clear_mask build fix 2005-12-12 14:42:31 -08:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] sun4c_memerr_reg __iomem annotations 2005-12-15 10:01:29 -08:00
prom [PATCH] sparc NULL noise removal 2005-05-04 07:33:13 -07:00
defconfig [SPARC32]: Revert IOMAP change eb98129eec 2005-10-10 21:02:26 -07:00
Kconfig [SPARC]: introduce a SPARC Kconfig symbol 2005-12-22 23:09:54 -08:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [SPARC]: block/ needed in final image link 2005-12-12 14:42:44 -08:00