aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMasato Noguchi <Masato.Noguchi@jp.sony.com>2006-11-20 18:45:07 +0100
committerPaul Mackerras <paulus@samba.org>2006-12-04 20:40:01 +1100
commit3692dc66149dc17cd82ec785a06478322c0eddff (patch)
treef74db54d0f60f58344a7a81cdf819c10030b992c /arch
parent[POWERPC] spufs: Always map local store non-guarded (diff)
downloadlinux-dev-3692dc66149dc17cd82ec785a06478322c0eddff.tar.xz
linux-dev-3692dc66149dc17cd82ec785a06478322c0eddff.zip
[POWERPC] spufs: Fix return value of spufs_mfc_write
This patch changes spufs_mfc_write() to return correct size instead of 0. Signed-off-by: Masato Noguchi <Masato.Noguchi@jp.sony.com> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/cell/spufs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c
index 1c1af71d19cb..e6667530332b 100644
--- a/arch/powerpc/platforms/cell/spufs/file.c
+++ b/arch/powerpc/platforms/cell/spufs/file.c
@@ -1279,6 +1279,7 @@ static ssize_t spufs_mfc_write(struct file *file, const char __user *buffer,
goto out;
ctx->tagwait |= 1 << cmd.tag;
+ ret = size;
out:
return ret;