aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/spu.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index 18e558bef98e..24f352da2869 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -196,6 +196,7 @@ extern struct cbe_spu_info cbe_spu_info[];
196 196
197struct spu *spu_alloc(void); 197struct spu *spu_alloc(void);
198struct spu *spu_alloc_node(int node); 198struct spu *spu_alloc_node(int node);
199struct spu *spu_alloc_spu(struct spu *spu);
199void spu_free(struct spu *spu); 200void spu_free(struct spu *spu);
200int spu_irq_class_0_bottom(struct spu *spu); 201int spu_irq_class_0_bottom(struct spu *spu);
201int spu_irq_class_1_bottom(struct spu *spu); 202int spu_irq_class_1_bottom(struct spu *spu);
@@ -227,7 +228,8 @@ extern long spu_sys_callback(struct spu_syscall_block *s);
227struct file; 228struct file;
228extern struct spufs_calls { 229extern struct spufs_calls {
229 asmlinkage long (*create_thread)(const char __user *name, 230 asmlinkage long (*create_thread)(const char __user *name,
230 unsigned int flags, mode_t mode); 231 unsigned int flags, mode_t mode,
232 struct file *neighbor);
231 asmlinkage long (*spu_run)(struct file *filp, __u32 __user *unpc, 233 asmlinkage long (*spu_run)(struct file *filp, __u32 __user *unpc,
232 __u32 __user *ustatus); 234 __u32 __user *ustatus);
233 struct module *owner; 235 struct module *owner;
@@ -254,8 +256,10 @@ struct spu_coredump_calls {
254#define SPU_CREATE_GANG 0x0002 256#define SPU_CREATE_GANG 0x0002
255#define SPU_CREATE_NOSCHED 0x0004 257#define SPU_CREATE_NOSCHED 0x0004
256#define SPU_CREATE_ISOLATE 0x0008 258#define SPU_CREATE_ISOLATE 0x0008
259#define SPU_CREATE_AFFINITY_SPU 0x0010
260#define SPU_CREATE_AFFINITY_MEM 0x0020
257 261
258#define SPU_CREATE_FLAG_ALL 0x000f /* mask of all valid flags */ 262#define SPU_CREATE_FLAG_ALL 0x003f /* mask of all valid flags */
259 263
260 264
261#ifdef CONFIG_SPU_FS_MODULE 265#ifdef CONFIG_SPU_FS_MODULE