summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/sys_sh.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2008-08-27 20:16:46 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-08-28 14:53:22 +0900
commit3c31bf73134038a417a9ae3fa3c02c279b42c550 (patch)
treeaaafc4ef386d1c405a4b2c7e358b6603b3ebc7de /arch/sh/kernel/sys_sh.c
parentf9bed3f2040b2ed44f0d1b7f0280458533c5d2a0 (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.c2
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,
version = call >> 16; /* hack for backward compatibility */
call &= 0xffff;
- if (call <= SEMCTL)
+ if (call <= SEMTIMEDOP)
switch (call) {
case SEMOP:
return sys_semtimedop(first,