linux-stable-rt/arch/powerpc/kernel
Bob Nelson 1474855d08 [CELL] oprofile: add support to OProfile for profiling CELL BE SPUs
From: Maynard Johnson <mpjohn@us.ibm.com>

This patch updates the existing arch/powerpc/oprofile/op_model_cell.c
to add in the SPU profiling capabilities.  In addition, a 'cell' subdirectory
was added to arch/powerpc/oprofile to hold Cell-specific SPU profiling code.
Exports spu_set_profile_private_kref and spu_get_profile_private_kref which
are used by OProfile to store private profile information in spufs data
structures.

Also incorporated several fixes from other patches (rrn).  Check pointer
returned from kzalloc.  Eliminated unnecessary cast.  Better error
handling and cleanup in the related area.  64-bit unsigned long parameter
was being demoted to 32-bit unsigned int and eventually promoted back to
unsigned long.

Signed-off-by: Carl Love <carll@us.ibm.com>
Signed-off-by: Maynard Johnson <mpjohn@us.ibm.com>
Signed-off-by: Bob Nelson <rrnelson@us.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
2007-07-20 21:42:24 +02:00
..
vdso32
vdso64 Fix VDSO gettimeofday() when called with NULL struct timeval. 2007-06-29 21:27:00 -07:00
Makefile [POWERPC] Use global_number in ppc32 pci_controller 2007-06-29 01:58:37 -05:00
align.c
asm-offsets.c
audit.c
binfmt_elf32.c
btext.c
compat_audit.c
cpu_setup_6xx.S
cpu_setup_pa6t.S
cpu_setup_ppc970.S
cputable.c [POWERPC] Oprofile support for Power 5++ 2007-07-11 13:21:46 +10:00
crash.c [CELL] saving spus information for kexec crash 2007-07-20 21:41:43 +02:00
crash_dump.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 [POWERPC] Correct __secondary_hold comment 2007-06-28 19:16:47 +10:00
head_booke.h
head_fsl_booke.S
ibmebus.c
idle.c
idle_6xx.S
idle_power4.S
init_task.c
io.c [POWERPC] Move inline asm eieio to using eieio inline function 2007-07-10 00:33:14 -05:00
iomap.c
iommu.c
irq.c [POWERPC] Check for NULL ppc_md.init_IRQ() before calling 2007-07-10 22:03:14 +10:00
isa-bridge.c
kprobes.c jprobes: make jprobes a little safer for users 2007-07-19 10:04:44 -07:00
l2cr_6xx.S
legacy_serial.c
lparcfg.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
lparmap.c
machine_kexec.c
machine_kexec_32.c
machine_kexec_64.c
misc.S
misc_32.S
misc_64.S
module_32.c
module_64.c
msi.c
nvram_64.c
of_device.c Begin to consolidate of_device.c 2007-07-20 13:39:59 +10:00
of_platform.c Create drivers/of/platform.c 2007-07-20 14:25:51 +10:00
paca.c
pci-common.c Fix compile failure in arch/powerpc/kernel/pci-common.c 2007-07-18 10:17:39 -07:00
pci_32.c PCI: Make pcibios_add_platform_entries() return errors 2007-07-11 16:02:07 -07:00
pci_64.c Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2007-07-16 17:58:08 -07:00
pci_dn.c
pmc.c
ppc32.h
ppc_ksyms.c [POWERPC] Remove unused do_signal export 2007-07-10 21:53:36 +10:00
proc_ppc64.c
process.c
prom.c Consolidate of_find_node_by routines 2007-07-20 13:39:06 +10:00
prom_init.c
prom_parse.c
ptrace.c PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
ptrace32.c
rtas-proc.c
rtas-rtc.c
rtas.c
rtas_flash.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
rtas_pci.c
semaphore.c
setup-common.c [POWERPC] Make the debugfs "powerpc" dir globally accessible 2007-07-10 21:53:50 +10:00
setup.h
setup_32.c
setup_64.c Revert "[POWERPC] Do firmware feature fixups after features are initialised" 2007-07-18 10:17:39 -07:00
signal.c
signal.h
signal_32.c
signal_64.c Merge branch 'for-2.6.23' into merge 2007-07-11 13:28:26 +10:00
smp-tbsync.c
smp.c
suspend.c
swsusp.c
swsusp_32.S
swsusp_64.c
swsusp_asm64.S
sys_ppc32.c sys_fallocate() implementation on i386, x86_64 and powerpc 2007-07-17 21:42:44 -04:00
syscalls.c
sysfs.c [POWERPC] arch/powerpc/kernel/sysfs.c: Move NUMA exports 2007-07-10 22:00:57 +10:00
systbl.S
tau_6xx.c
time.c [CELL] oprofile: add support to OProfile for profiling CELL BE SPUs 2007-07-20 21:42:24 +02:00
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
udbg.c
udbg_16550.c
vdso.c
vecemu.c
vector.S
vio.c
vmlinux.lds.S Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-07-19 14:28:19 -07:00