#define __NR_fstatfs64 269
#define __NR_tgkill 270
#define __NR_utimes 271
+#define __NR_fadvise64_64 272
-#define NR_syscalls 272
+#define NR_syscalls 273
/* user-visible error numbers are in the range -1 - -124: see <asm-i386/errno.h> */
* POSIX_FADV_WILLNEED could set PG_Referenced, and POSIX_FADV_NOREUSE could
* deactivate the pages and clear PG_Referenced.
*/
-long sys_fadvise64(int fd, loff_t offset, size_t len, int advice)
+long sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
{
struct file *file = fget(fd);
struct inode *inode;
fput(file);
return ret;
}
+
+long sys_fadvise64(int fd, loff_t offset, size_t len, int advice)
+{
+ return sys_fadvise64_64(fd, offset, len, advice);
+}
+