aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/spu.h
diff options
context:
space:
mode:
authorAndre Detsch <adetsch@br.ibm.com>2007-07-20 15:39:27 -0400
committerArnd Bergmann <arnd@klappe.arndb.de>2007-07-20 15:41:43 -0400
commit8d2655e621bfc3c3f925016f881a36739d479f69 (patch)
tree773d3f13c31850a719832bca93fd0d27ce1a9d8b /include/asm-powerpc/spu.h
parentdbdf04c40161f81d74e27f04e201acb3a5dfad69 (diff)
[CELL] saving spus information for kexec crash
This patch adds support for investigating spus information after a kernel crash event, through kdump vmcore file. Implementation is based on xmon code, but the new functionality was kept independent from xmon. Signed-off-by: Lucio Jose Herculano Correia <luciojhc@br.ibm.com> Signed-off-by: Andre Detsch <adetsch@br.ibm.com> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'include/asm-powerpc/spu.h')
-rw-r--r--include/asm-powerpc/spu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index eedc828cef2d..42d88a6d2dfd 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -188,6 +188,14 @@ int spu_irq_class_0_bottom(struct spu *spu);
188int spu_irq_class_1_bottom(struct spu *spu); 188int spu_irq_class_1_bottom(struct spu *spu);
189void spu_irq_setaffinity(struct spu *spu, int cpu); 189void spu_irq_setaffinity(struct spu *spu, int cpu);
190 190
191#ifdef CONFIG_KEXEC
192void crash_register_spus(struct list_head *list);
193#else
194static inline void crash_register_spus(struct list_head *list)
195{
196}
197#endif
198
191extern void spu_invalidate_slbs(struct spu *spu); 199extern void spu_invalidate_slbs(struct spu *spu);
192extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm); 200extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm);
193 201