diff options
author | Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> | 2008-08-27 07:16:46 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-08-28 01:53:22 -0400 |
commit | 3c31bf73134038a417a9ae3fa3c02c279b42c550 (patch) | |
tree | aaafc4ef386d1c405a4b2c7e358b6603b3ebc7de /arch/sh/kernel/sys_sh.c | |
parent | f9bed3f2040b2ed44f0d1b7f0280458533c5d2a0 (diff) |
sh: fix semtimedop syscall
fix the problem that cannot work semtimedop system call.
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/sys_sh.c')
-rw-r--r-- | arch/sh/kernel/sys_sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c index 59cd2859ce9b..9061b86d73fa 100644 --- a/arch/sh/kernel/sys_sh.c +++ b/arch/sh/kernel/sys_sh.c | |||
@@ -170,7 +170,7 @@ asmlinkage int sys_ipc(uint call, int first, int second, | |||
170 | version = call >> 16; /* hack for backward compatibility */ | 170 | version = call >> 16; /* hack for backward compatibility */ |
171 | call &= 0xffff; | 171 | call &= 0xffff; |
172 | 172 | ||
173 | if (call <= SEMCTL) | 173 | if (call <= SEMTIMEDOP) |
174 | switch (call) { | 174 | switch (call) { |
175 | case SEMOP: | 175 | case SEMOP: |
176 | return sys_semtimedop(first, | 176 | return sys_semtimedop(first, |