diff options
author | Michal Simek <monstr@monstr.eu> | 2009-04-30 09:35:53 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-05-01 16:38:14 +0200 |
commit | c71a7a3875b40d18a08c09f6c757bd7a9b6ce894 (patch) | |
tree | 7fe4c7cdcc80a81b0a64e6b061ba8aa46c54766d /arch/microblaze/kernel/sys_microblaze.c | |
parent | microblaze: Storage class should be before const qualifier (diff) | |
download | linux-c71a7a3875b40d18a08c09f6c757bd7a9b6ce894.tar.xz linux-c71a7a3875b40d18a08c09f6c757bd7a9b6ce894.zip |
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/microblaze/kernel/sys_microblaze.c')
-rw-r--r-- | arch/microblaze/kernel/sys_microblaze.c | 2 |
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) |