diff options
author | Paul Mackerras <paulus@samba.org> | 2007-12-20 14:41:27 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-20 14:41:27 +1100 |
commit | 2c0b713f70ecccaf4f535caf602f41350a9f484a (patch) | |
tree | ad8954d362140f9ca0c67a86e1899e6be90af8a1 /include/asm-powerpc | |
parent | f91266edba3c6ef001819c5abe4c3a0643f66fc9 (diff) | |
parent | 1e7710390f95b7efb3f74fd2f8b5fc28656b458c (diff) |
Merge branch 'for-2.6.25' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/cell-2.6 into for-2.6.25
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/spu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h index b1accce77bb5..314aad357d98 100644 --- a/include/asm-powerpc/spu.h +++ b/include/asm-powerpc/spu.h @@ -104,6 +104,7 @@ struct spu_context; struct spu_runqueue; +struct spu_lscsa; struct device_node; enum spu_utilization_state { @@ -200,6 +201,9 @@ 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); +void spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa, + void *code, int code_size); + #ifdef CONFIG_KEXEC void crash_register_spus(struct list_head *list); #else @@ -210,6 +214,7 @@ static inline void crash_register_spus(struct list_head *list) extern void spu_invalidate_slbs(struct spu *spu); extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm); +int spu_64k_pages_available(void); /* Calls from the memory management to the SPU */ struct mm_struct; |