diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-07-20 15:39:42 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-07-20 15:42:03 -0400 |
commit | 50af32a94beef566664022254d677504e51b6139 (patch) | |
tree | d5d83b2a9ff483e4fbf429619fd5b8b56560c59a /arch | |
parent | ca53da3abb1d49748931ff2acb66d5a6eeeba2a1 (diff) |
[CELL] spufs: remove unused file argument from spufs_run_spu()
From: Sebastian Siewior <cbe-oss-dev@ml.breakpoint.cc>
The 'file' argument is unused in spufs_run_spu(). This change removes
it.
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/run.c | 3 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/spufs.h | 3 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/syscalls.c | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/run.c b/arch/powerpc/platforms/cell/spufs/run.c index 8c91b3f93152..c0238ea5b55a 100644 --- a/arch/powerpc/platforms/cell/spufs/run.c +++ b/arch/powerpc/platforms/cell/spufs/run.c | |||
@@ -295,8 +295,7 @@ static inline int spu_process_events(struct spu_context *ctx) | |||
295 | return ret; | 295 | return ret; |
296 | } | 296 | } |
297 | 297 | ||
298 | long spufs_run_spu(struct file *file, struct spu_context *ctx, | 298 | long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event) |
299 | u32 *npc, u32 *event) | ||
300 | { | 299 | { |
301 | int ret; | 300 | int ret; |
302 | u32 status; | 301 | u32 status; |
diff --git a/arch/powerpc/platforms/cell/spufs/spufs.h b/arch/powerpc/platforms/cell/spufs/spufs.h index 1438aa2c346e..03e8315f6f9e 100644 --- a/arch/powerpc/platforms/cell/spufs/spufs.h +++ b/arch/powerpc/platforms/cell/spufs/spufs.h | |||
@@ -181,8 +181,7 @@ extern struct tree_descr spufs_dir_contents[]; | |||
181 | extern struct tree_descr spufs_dir_nosched_contents[]; | 181 | extern struct tree_descr spufs_dir_nosched_contents[]; |
182 | 182 | ||
183 | /* system call implementation */ | 183 | /* system call implementation */ |
184 | long spufs_run_spu(struct file *file, | 184 | long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *status); |
185 | struct spu_context *ctx, u32 *npc, u32 *status); | ||
186 | long spufs_create(struct nameidata *nd, | 185 | long spufs_create(struct nameidata *nd, |
187 | unsigned int flags, mode_t mode); | 186 | unsigned int flags, mode_t mode); |
188 | extern const struct file_operations spufs_context_fops; | 187 | extern const struct file_operations spufs_context_fops; |
diff --git a/arch/powerpc/platforms/cell/spufs/syscalls.c b/arch/powerpc/platforms/cell/spufs/syscalls.c index 8e37bdf4dfda..13a383c67cae 100644 --- a/arch/powerpc/platforms/cell/spufs/syscalls.c +++ b/arch/powerpc/platforms/cell/spufs/syscalls.c | |||
@@ -47,7 +47,7 @@ static long do_spu_run(struct file *filp, | |||
47 | goto out; | 47 | goto out; |
48 | 48 | ||
49 | i = SPUFS_I(filp->f_path.dentry->d_inode); | 49 | i = SPUFS_I(filp->f_path.dentry->d_inode); |
50 | ret = spufs_run_spu(filp, i->i_ctx, &npc, &status); | 50 | ret = spufs_run_spu(i->i_ctx, &npc, &status); |
51 | 51 | ||
52 | if (put_user(npc, unpc)) | 52 | if (put_user(npc, unpc)) |
53 | ret = -EFAULT; | 53 | ret = -EFAULT; |