summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2008-08-27 15:16:46 +0400
committerPaul Mundt <lethal@linux-sh.org>2008-08-28 09:53:22 +0400
commit3c31bf73134038a417a9ae3fa3c02c279b42c550 (patch)
treeaaafc4ef386d1c405a4b2c7e358b6603b3ebc7de /arch
parentf9bed3f2040b2ed44f0d1b7f0280458533c5d2a0 (diff)
downloadlinux-3c31bf73134038a417a9ae3fa3c02c279b42c550.tar.xz
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')
-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,