diff options
author | Andre Detsch <adetsch@br.ibm.com> | 2007-07-20 15:39:27 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-07-20 15:41:43 -0400 |
commit | 8d2655e621bfc3c3f925016f881a36739d479f69 (patch) | |
tree | 773d3f13c31850a719832bca93fd0d27ce1a9d8b /include/asm-powerpc | |
parent | dbdf04c40161f81d74e27f04e201acb3a5dfad69 (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')
-rw-r--r-- | include/asm-powerpc/spu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h index eedc828cef2..42d88a6d2df 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); | |||
188 | int spu_irq_class_1_bottom(struct spu *spu); | 188 | int spu_irq_class_1_bottom(struct spu *spu); |
189 | void spu_irq_setaffinity(struct spu *spu, int cpu); | 189 | void spu_irq_setaffinity(struct spu *spu, int cpu); |
190 | 190 | ||
191 | #ifdef CONFIG_KEXEC | ||
192 | void crash_register_spus(struct list_head *list); | ||
193 | #else | ||
194 | static inline void crash_register_spus(struct list_head *list) | ||
195 | { | ||
196 | } | ||
197 | #endif | ||
198 | |||
191 | extern void spu_invalidate_slbs(struct spu *spu); | 199 | extern void spu_invalidate_slbs(struct spu *spu); |
192 | extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm); | 200 | extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm); |
193 | 201 | ||