diff options
Diffstat (limited to 'include/asm-powerpc/spu.h')
-rw-r--r-- | include/asm-powerpc/spu.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h index ffa4df083609..f968f8697538 100644 --- a/include/asm-powerpc/spu.h +++ b/include/asm-powerpc/spu.h | |||
@@ -172,6 +172,13 @@ extern struct spufs_calls { | |||
172 | struct module *owner; | 172 | struct module *owner; |
173 | } spufs_calls; | 173 | } spufs_calls; |
174 | 174 | ||
175 | /* coredump calls implemented in spufs */ | ||
176 | struct spu_coredump_calls { | ||
177 | asmlinkage int (*arch_notes_size)(void); | ||
178 | asmlinkage void (*arch_write_notes)(struct file *file); | ||
179 | struct module *owner; | ||
180 | }; | ||
181 | |||
175 | /* return status from spu_run, same as in libspe */ | 182 | /* return status from spu_run, same as in libspe */ |
176 | #define SPE_EVENT_DMA_ALIGNMENT 0x0008 /*A DMA alignment error */ | 183 | #define SPE_EVENT_DMA_ALIGNMENT 0x0008 /*A DMA alignment error */ |
177 | #define SPE_EVENT_SPE_ERROR 0x0010 /*An illegal instruction error*/ | 184 | #define SPE_EVENT_SPE_ERROR 0x0010 /*An illegal instruction error*/ |
@@ -203,6 +210,9 @@ static inline void unregister_spu_syscalls(struct spufs_calls *calls) | |||
203 | } | 210 | } |
204 | #endif /* MODULE */ | 211 | #endif /* MODULE */ |
205 | 212 | ||
213 | int register_arch_coredump_calls(struct spu_coredump_calls *calls); | ||
214 | void unregister_arch_coredump_calls(struct spu_coredump_calls *calls); | ||
215 | |||
206 | int spu_add_sysdev_attr(struct sysdev_attribute *attr); | 216 | int spu_add_sysdev_attr(struct sysdev_attribute *attr); |
207 | void spu_remove_sysdev_attr(struct sysdev_attribute *attr); | 217 | void spu_remove_sysdev_attr(struct sysdev_attribute *attr); |
208 | 218 | ||