aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-04-30 09:35:53 +0200
committerMichal Simek <monstr@monstr.eu>2009-05-01 16:38:14 +0200
commitc71a7a3875b40d18a08c09f6c757bd7a9b6ce894 (patch)
tree7fe4c7cdcc80a81b0a64e6b061ba8aa46c54766d /arch
parent595e8fabea22c96f674102f33b4a759f4512dd9c (diff)
downloadlinux-stericsson-c71a7a3875b40d18a08c09f6c757bd7a9b6ce894.tar.gz
microblaze: Fix return value for sys_ipc
Signed-off-by: John Linn <john.linn@xilinx.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/kernel/sys_microblaze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/sys_microblaze.c b/arch/microblaze/kernel/sys_microblaze.c
index ba0568c2cc1c..31905ff590b7 100644
--- a/arch/microblaze/kernel/sys_microblaze.c
+++ b/arch/microblaze/kernel/sys_microblaze.c
@@ -131,7 +131,7 @@ sys_ipc(uint call, int first, int second, int third, void *ptr, long fifth)
ret = sys_shmctl(first, second, (struct shmid_ds *) ptr);
break;
}
- return -EINVAL;
+ return ret;
}
asmlinkage int sys_vfork(struct pt_regs *regs)