summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2008-08-27 13:16:46 +0200
committerPaul Mundt <lethal@linux-sh.org>2008-08-28 07:53:22 +0200
commit3c31bf73134038a417a9ae3fa3c02c279b42c550 (patch)
treeaaafc4ef386d1c405a4b2c7e358b6603b3ebc7de
parentsh: update AP325RXA defconfig (diff)
downloadlinux-3c31bf73134038a417a9ae3fa3c02c279b42c550.tar.xz
linux-3c31bf73134038a417a9ae3fa3c02c279b42c550.zip
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>
-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,