sh: fix semtimedop syscall
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Wed, 27 Aug 2008 11:16:46 +0000 (20:16 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 28 Aug 2008 05:53:22 +0000 (14:53 +0900)
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>
arch/sh/kernel/sys_sh.c

index 59cd2859ce9b247e70c27728dd029eaba0fb370f..9061b86d73fadefef5b20d7834a6c25299fcc289 100644 (file)
@@ -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,