aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/spu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/spu.h')
-rw-r--r--include/asm-powerpc/spu.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index 38bacf2f6e0c..b5c90d6fdceb 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -149,6 +149,14 @@ int spu_irq_class_0_bottom(struct spu *spu);
149int spu_irq_class_1_bottom(struct spu *spu); 149int spu_irq_class_1_bottom(struct spu *spu);
150void spu_irq_setaffinity(struct spu *spu, int cpu); 150void spu_irq_setaffinity(struct spu *spu, int cpu);
151 151
152/* system callbacks from the SPU */
153struct spu_syscall_block {
154 u64 nr_ret;
155 u64 parm[6];
156};
157extern long spu_sys_callback(struct spu_syscall_block *s);
158
159/* syscalls implemented in spufs */
152extern struct spufs_calls { 160extern struct spufs_calls {
153 asmlinkage long (*create_thread)(const char __user *name, 161 asmlinkage long (*create_thread)(const char __user *name,
154 unsigned int flags, mode_t mode); 162 unsigned int flags, mode_t mode);
@@ -399,7 +407,6 @@ struct spu_priv1 {
399#define SPU_GET_REVISION_BITS(vr) (vr & SPU_REVISION_BITS) 407#define SPU_GET_REVISION_BITS(vr) (vr & SPU_REVISION_BITS)
400 u8 pad_0x28_0x100[0x100 - 0x28]; /* 0x28 */ 408 u8 pad_0x28_0x100[0x100 - 0x28]; /* 0x28 */
401 409
402
403 /* Interrupt Area */ 410 /* Interrupt Area */
404 u64 int_mask_RW[3]; /* 0x100 */ 411 u64 int_mask_RW[3]; /* 0x100 */
405#define CLASS0_ENABLE_DMA_ALIGNMENT_INTR 0x1L 412#define CLASS0_ENABLE_DMA_ALIGNMENT_INTR 0x1L