diff options
Diffstat (limited to 'include/asm-powerpc/spu_csa.h')
-rw-r--r-- | include/asm-powerpc/spu_csa.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/asm-powerpc/spu_csa.h b/include/asm-powerpc/spu_csa.h index e87794d5d4ea..0ab6bff86078 100644 --- a/include/asm-powerpc/spu_csa.h +++ b/include/asm-powerpc/spu_csa.h | |||
@@ -194,7 +194,7 @@ struct spu_priv1_collapsed { | |||
194 | }; | 194 | }; |
195 | 195 | ||
196 | /* | 196 | /* |
197 | * struct spu_priv2_collapsed - condensed priviliged 2 area, w/o pads. | 197 | * struct spu_priv2_collapsed - condensed privileged 2 area, w/o pads. |
198 | */ | 198 | */ |
199 | struct spu_priv2_collapsed { | 199 | struct spu_priv2_collapsed { |
200 | u64 slb_index_W; | 200 | u64 slb_index_W; |
@@ -254,20 +254,11 @@ struct spu_state { | |||
254 | u64 spu_chnldata_RW[32]; | 254 | u64 spu_chnldata_RW[32]; |
255 | u32 spu_mailbox_data[4]; | 255 | u32 spu_mailbox_data[4]; |
256 | u32 pu_mailbox_data[1]; | 256 | u32 pu_mailbox_data[1]; |
257 | u64 dar, dsisr; | 257 | u64 dar, dsisr, class_0_pending; |
258 | unsigned long suspend_time; | 258 | unsigned long suspend_time; |
259 | spinlock_t register_lock; | 259 | spinlock_t register_lock; |
260 | }; | 260 | }; |
261 | 261 | ||
262 | extern int spu_init_csa(struct spu_state *csa); | ||
263 | extern void spu_fini_csa(struct spu_state *csa); | ||
264 | extern int spu_save(struct spu_state *prev, struct spu *spu); | ||
265 | extern int spu_restore(struct spu_state *new, struct spu *spu); | ||
266 | extern int spu_switch(struct spu_state *prev, struct spu_state *new, | ||
267 | struct spu *spu); | ||
268 | extern int spu_alloc_lscsa(struct spu_state *csa); | ||
269 | extern void spu_free_lscsa(struct spu_state *csa); | ||
270 | |||
271 | #endif /* !__SPU__ */ | 262 | #endif /* !__SPU__ */ |
272 | #endif /* __KERNEL__ */ | 263 | #endif /* __KERNEL__ */ |
273 | #endif /* !__ASSEMBLY__ */ | 264 | #endif /* !__ASSEMBLY__ */ |