]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/hrtimer.c
[CVE-2009-0029] System call wrappers part 02
[karo-tx-linux.git] / kernel / hrtimer.c
index 1455b7651b6b27f9343809260976a1df3e4678e6..2dc30c59c5fd63560cc5485ca0075c958f5c36e5 100644 (file)
@@ -1467,8 +1467,8 @@ out:
        return ret;
 }
 
-asmlinkage long
-sys_nanosleep(struct timespec __user *rqtp, struct timespec __user *rmtp)
+SYSCALL_DEFINE2(nanosleep, struct timespec __user *, rqtp,
+               struct timespec __user *, rmtp)
 {
        struct timespec tu;