summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndre Detsch <adetsch@br.ibm.com>2007-07-20 21:39:27 +0200
committerArnd Bergmann <arnd@klappe.arndb.de>2007-07-20 21:41:43 +0200
commit8d2655e621bfc3c3f925016f881a36739d479f69 (patch)
tree773d3f13c31850a719832bca93fd0d27ce1a9d8b /include
parentdbdf04c40161f81d74e27f04e201acb3a5dfad69 (diff)
downloadblackbird-op-linux-8d2655e621bfc3c3f925016f881a36739d479f69.tar.gz
blackbird-op-linux-8d2655e621bfc3c3f925016f881a36739d479f69.zip
[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')
-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);
int spu_irq_class_1_bottom(struct spu *spu);
void spu_irq_setaffinity(struct spu *spu, int cpu);
+#ifdef CONFIG_KEXEC
+void crash_register_spus(struct list_head *list);
+#else
+static inline void crash_register_spus(struct list_head *list)
+{
+}
+#endif
+
extern void spu_invalidate_slbs(struct spu *spu);
extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm);
OpenPOWER on IntegriCloud