]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/msync.c
signalfd: fill in ssi_int for posix timers and message queues
[karo-tx-linux.git] / mm / msync.c
index 358d73cf7b78949c2e62567b1ec89d000dd2cdf7..9e06d2ebe735c4174917bfac75b0cfc209f965c0 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/mman.h>
 #include <linux/file.h>
 #include <linux/syscalls.h>
+#include <linux/sched.h>
 
 /*
  * MS_SYNC syncs the entire file - including mappings.
@@ -27,7 +28,7 @@
  * So by _not_ starting I/O in MS_ASYNC we provide complete flexibility to
  * applications.
  */
-asmlinkage long sys_msync(unsigned long start, size_t len, int flags)
+SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags)
 {
        unsigned long end;
        struct mm_struct *mm = current->mm;