]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/timerfd.c
System call wrappers part 31
[karo-tx-linux.git] / fs / timerfd.c
index c502c60e4f54ddfe6ac9402c2c550a274485b003..f52c97565cf5ca286fd33e3913cc02171d6545d0 100644 (file)
@@ -179,7 +179,7 @@ static struct file *timerfd_fget(int fd)
        return file;
 }
 
-asmlinkage long sys_timerfd_create(int clockid, int flags)
+SYSCALL_DEFINE2(timerfd_create, int, clockid, int, flags)
 {
        int ufd;
        struct timerfd_ctx *ctx;
@@ -210,9 +210,9 @@ asmlinkage long sys_timerfd_create(int clockid, int flags)
        return ufd;
 }
 
-asmlinkage long sys_timerfd_settime(int ufd, int flags,
-                                   const struct itimerspec __user *utmr,
-                                   struct itimerspec __user *otmr)
+SYSCALL_DEFINE4(timerfd_settime, int, ufd, int, flags,
+               const struct itimerspec __user *, utmr,
+               struct itimerspec __user *, otmr)
 {
        struct file *file;
        struct timerfd_ctx *ctx;