original_kernel/arch/powerpc/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
..
vdso32
vdso64
Makefile
align.c
asm-offsets.c
binfmt_elf32.c
btext.c
cpu_setup_power4.S
cputable.c
dma_64.c
entry_32.S
entry_64.S
firmware.c
fpu.S
head_4xx.S
head_8xx.S
head_32.S
head_44x.S
head_64.S
head_fsl_booke.S
idle_6xx.S
idle_64.c
idle_power4.S
init_task.c
ioctl32.c
iomap.c
iommu.c
irq.c
kprobes.c
lparcfg.c
lparmap.c
machine_kexec_64.c
misc_32.S
misc_64.S
module_64.c
nvram_64.c
of_device.c
paca.c
pci_64.c
pci_direct_iommu.c
pci_dn.c
pci_iommu.c
pmc.c
ppc32.h
ppc_ksyms.c
proc_ppc64.c
process.c
prom.c
prom_init.c
ptrace-common.h
ptrace.c
ptrace32.c [PATCH] use ptrace_get_task_struct in various places 2006-01-08 20:13:51 -08:00
rtas-proc.c
rtas-rtc.c
rtas.c
rtas_flash.c
rtas_pci.c
semaphore.c
setup-common.c
setup.h
setup_32.c
setup_64.c
signal_32.c
signal_64.c
smp-tbsync.c
smp.c
sys_ppc32.c
syscalls.c
sysfs.c
systbl.S
time.c
traps.c
udbg.c
udbg_16550.c
udbg_scc.c
vdso.c
vecemu.c
vector.S
vio.c
vmlinux.lds.S