diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-06-25 19:42:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 20:43:32 -0400 |
commit | 73b6af8a21184f2178a7219eb4d64ea5a71aedf9 (patch) | |
tree | 475c26f4e0d87b0007375e81feae72c62fdca380 /arch/powerpc/platforms | |
parent | 1e788f8d1ad71fea99a763114eae73c3ad55bc30 (diff) |
[PATCH] spufs: update ->flush method proto
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index 80c02660e617..7854a380dce2 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
@@ -1150,7 +1150,7 @@ static unsigned int spufs_mfc_poll(struct file *file,poll_table *wait) | |||
1150 | return mask; | 1150 | return mask; |
1151 | } | 1151 | } |
1152 | 1152 | ||
1153 | static int spufs_mfc_flush(struct file *file) | 1153 | static int spufs_mfc_flush(struct file *file, fl_owner_t id) |
1154 | { | 1154 | { |
1155 | struct spu_context *ctx = file->private_data; | 1155 | struct spu_context *ctx = file->private_data; |
1156 | int ret; | 1156 | int ret; |
@@ -1176,7 +1176,7 @@ out: | |||
1176 | static int spufs_mfc_fsync(struct file *file, struct dentry *dentry, | 1176 | static int spufs_mfc_fsync(struct file *file, struct dentry *dentry, |
1177 | int datasync) | 1177 | int datasync) |
1178 | { | 1178 | { |
1179 | return spufs_mfc_flush(file); | 1179 | return spufs_mfc_flush(file, NULL); |
1180 | } | 1180 | } |
1181 | 1181 | ||
1182 | static int spufs_mfc_fasync(int fd, struct file *file, int on) | 1182 | static int spufs_mfc_fasync(int fd, struct file *file, int on) |