VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: David Woodhouse <dwmw2@infradead.org> 2007-06-27 14:10:09 -0700 committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2007-06-28 11:38:30 -0700 commit: edd5cd4a9424f22b0fa08bef5e299d41befd5622 parent: 2f4d4da8f82c2598b8713f4a01f360f3751d90be
Commit Summary:
Introduce fixed sys_sync_file_range2() syscall, implement on PowerPC and ARM
Diffstat:
1 file changed, 8 insertions, 0 deletions
diff --git a/fs/sync.c b/fs/sync.c
index 2f97576355b8..7cd005ea7639 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -236,6 +236,14 @@ out:
 	return ret;
 }
 
+/* It would be nice if people remember that not all the world's an i386
+   when they introduce new system calls */
+asmlinkage long sys_sync_file_range2(int fd, unsigned int flags,
+				     loff_t offset, loff_t nbytes)
+{
+	return sys_sync_file_range(fd, offset, nbytes, flags);
+}
+
 /*
  * `endbyte' is inclusive
  */