Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  *  linux/arch/arm/kernel/sys_arm.c
0004  *
0005  *  Copyright (C) People who wrote linux/arch/i386/kernel/sys_i386.c
0006  *  Copyright (C) 1995, 1996 Russell King.
0007  *
0008  *  This file contains various random system calls that
0009  *  have a non-standard calling sequence on the Linux/arm
0010  *  platform.
0011  */
0012 #include <linux/export.h>
0013 #include <linux/errno.h>
0014 #include <linux/sched.h>
0015 #include <linux/mm.h>
0016 #include <linux/sem.h>
0017 #include <linux/msg.h>
0018 #include <linux/shm.h>
0019 #include <linux/stat.h>
0020 #include <linux/syscalls.h>
0021 #include <linux/mman.h>
0022 #include <linux/fs.h>
0023 #include <linux/file.h>
0024 #include <linux/ipc.h>
0025 #include <linux/uaccess.h>
0026 #include <linux/slab.h>
0027 
0028 /*
0029  * Since loff_t is a 64 bit type we avoid a lot of ABI hassle
0030  * with a different argument ordering.
0031  */
0032 asmlinkage long sys_arm_fadvise64_64(int fd, int advice,
0033                      loff_t offset, loff_t len)
0034 {
0035     return ksys_fadvise64_64(fd, offset, len, advice);
0036 }