acrn-kernel/arch/mips/kernel
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
..
Makefile
asm-offsets.c
binfmt_elfn32.c
binfmt_elfo32.c
branch.c
cpu-bugs64.c
cpu-probe.c [MIPS] R10000 and R12000 need to set MIPS_CPU_4K_CACHE ... 2005-12-01 11:05:12 +00:00
dma-no-isa.c
entry.S
gdb-low.S
gdb-stub.c
genex.S
head.S
i8259.c
init_task.c
ioctl32.c [PATCH] remove ioctl32_handler_t 2005-11-09 07:56:00 -08:00
irix5sys.S
irixelf.c
irixinv.c
irixioctl.c
irixsig.c [MIPS] Avoid duplicate do_syscall_trace calls on return from sigreturn. 2005-12-01 11:05:18 +00:00
irq-msc01.c
irq-mv6434x.c
irq-rm7000.c
irq-rm9000.c
irq.c
irq_cpu.c
linux32.c Relax the rw_verify_area() error checking. 2006-01-04 16:20:40 -08:00
mips_ksyms.c
module.c
proc.c
process.c [PATCH] sched: disable preempt in idle tasks 2005-11-09 07:56:33 -08:00
ptrace.c [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
ptrace32.c [PATCH] use ptrace_get_task_struct in various places 2006-01-08 20:13:51 -08:00
r4k_fpu.S
r4k_switch.S
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
reset.c
rtlx.c Turn rtlx upside down. 2005-11-07 18:05:33 +00:00
scall32-o32.S [MIPS] Fix register handling in syscalls when debugging. 2005-12-01 11:05:17 +00:00
scall64-64.S [MIPS] Fix register handling in syscalls when debugging. 2005-12-01 11:05:17 +00:00
scall64-n32.S [MIPS] Fix register handling in syscalls when debugging. 2005-12-01 11:05:17 +00:00
scall64-o32.S [MIPS] Fix register handling in syscalls when debugging. 2005-12-01 11:05:17 +00:00
semaphore.c
setup.c
signal-common.h
signal.c [MIPS] Avoid duplicate do_syscall_trace calls on return from sigreturn. 2005-12-01 11:05:18 +00:00
signal32.c [MIPS] Avoid duplicate do_syscall_trace calls on return from sigreturn. 2005-12-01 11:05:18 +00:00
signal_n32.c
smp.c [PATCH] sched: disable preempt in idle tasks 2005-11-09 07:56:33 -08:00
smp_mt.c
syscall.c
sysirix.c
time.c [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
traps.c [MIPS] Generate SIGILL again 2005-12-01 11:05:14 +00:00
unaligned.c
vmlinux.lds.S
vpe.c VPE loader janitoring 2005-11-07 18:05:36 +00:00