Index: ./fs/splice.c
===================================================================
RCS file: /var/cvs/linux-2.6/fs/splice.c,v
retrieving revision 1.4
diff -u -p -r1.4 splice.c
--- ./fs/splice.c	27 Apr 2006 04:58:54 -0000	1.4
+++ ./fs/splice.c	28 Apr 2006 13:02:57 -0000
@@ -1219,9 +1219,9 @@ asmlinkage long sys_vmsplice(int fd, con
 	return error;
 }
 
-asmlinkage long sys_splice(int fd_in, loff_t __user *off_in,
-			   int fd_out, loff_t __user *off_out,
-			   size_t len, unsigned int flags)
+asmlinkage long sys_splice(int fd_in, int fd_out,
+			   size_t len, unsigned int flags,
+			   loff_t __user *off_in, loff_t __user *off_out)
 {
 	long error;
 	struct file *in, *out;
Index: ./fs/sync.c
===================================================================
RCS file: /var/cvs/linux-2.6/fs/sync.c,v
retrieving revision 1.3
diff -u -p -r1.3 sync.c
--- ./fs/sync.c	19 Apr 2006 04:56:04 -0000	1.3
+++ ./fs/sync.c	28 Apr 2006 13:02:57 -0000
@@ -60,8 +60,8 @@
  * already-instantiated disk blocks, there are no guarantees here that the data
  * will be available after a crash.
  */
-asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes,
-					unsigned int flags)
+asmlinkage long sys_sync_file_range(int fd, unsigned int flags, loff_t offset,
+				    loff_t nbytes)
 {
 	int ret;
 	struct file *file;
Index: ./include/linux/syscalls.h
===================================================================
RCS file: /var/cvs/linux-2.6/include/linux/syscalls.h,v
retrieving revision 1.26
diff -u -p -r1.26 syscalls.h
--- ./include/linux/syscalls.h	27 Apr 2006 04:59:01 -0000	1.26
+++ ./include/linux/syscalls.h	28 Apr 2006 13:02:58 -0000
@@ -570,16 +570,16 @@ asmlinkage long compat_sys_openat(unsign
 				   int flags, int mode);
 asmlinkage long sys_unshare(unsigned long unshare_flags);
 
-asmlinkage long sys_splice(int fd_in, loff_t __user *off_in,
-			   int fd_out, loff_t __user *off_out,
-			   size_t len, unsigned int flags);
+asmlinkage long sys_splice(int fd_in, int fd_out,
+			   size_t len, unsigned int flags,
+			   loff_t __user *off_in, loff_t __user *off_out);
 
 asmlinkage long sys_vmsplice(int fd, const struct iovec __user *iov,
 			     unsigned long nr_segs, unsigned int flags);
 
 asmlinkage long sys_tee(int fdin, int fdout, size_t len, unsigned int flags);
 
-asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes,
-					unsigned int flags);
+asmlinkage long sys_sync_file_range(int fd, unsigned int flags, loff_t offset,
+				    loff_t nbytes);
 
 #endif

