From: Yoshihiro Shimoda Date: Wed, 27 Aug 2008 11:16:46 +0000 (+0900) Subject: sh: fix semtimedop syscall X-Git-Tag: v2.6.27-rc6~36^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3c31bf73134038a417a9ae3fa3c02c279b42c550;p=linux-2.6-omap-h63xx.git sh: fix semtimedop syscall fix the problem that cannot work semtimedop system call. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c index 59cd2859ce9..9061b86d73f 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,