]> git.karo-electronics.de Git - linux-beck.git/commitdiff
parisc: switch to generic compat sched_rr_get_interval()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 25 Dec 2012 22:33:02 +0000 (17:33 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 Feb 2013 23:16:07 +0000 (18:16 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/parisc/kernel/sys_parisc32.c
arch/parisc/kernel/syscall_table.S

index 9cfdaa19ab63314da7e04e0958eaadda0fadde9a..9b6a376cb12b4e3d981e475af6c14e6ad2fcec34 100644 (file)
@@ -61,18 +61,6 @@ asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23,
     return -ENOSYS;
 }
 
-asmlinkage long sys32_sched_rr_get_interval(pid_t pid,
-       struct compat_timespec __user *interval)
-{
-       struct timespec t;
-       int ret;
-
-       KERNEL_SYSCALL(ret, sys_sched_rr_get_interval, pid, (struct timespec __user *)&t);
-       if (put_compat_timespec(&t, interval))
-               return -EFAULT;
-       return ret;
-}
-
 struct msgbuf32 {
     int mtype;
     char mtext[1];
index 3b083dd208cf030a74d8c41ad96ef7e4fe4810ed..883171edfc6e49020c0dabe45611a15818763adb 100644 (file)
        /* These 2 would've worked if someone had defined struct timespec
         * carefully, like timeval for example (which is about the same).
         * Unfortunately it contains a long :-( */
-       ENTRY_DIFF(sched_rr_get_interval)
+       ENTRY_COMP(sched_rr_get_interval)
        ENTRY_COMP(nanosleep)
        ENTRY_SAME(mremap)
        ENTRY_SAME(setresuid)