1d2912cb1SThomas Gleixner // SPDX-License-Identifier: GPL-2.0-only
21da177e4SLinus Torvalds /*
31da177e4SLinus Torvalds * linux/arch/arm/kernel/sys_arm.c
41da177e4SLinus Torvalds *
51da177e4SLinus Torvalds * Copyright (C) People who wrote linux/arch/i386/kernel/sys_i386.c
61da177e4SLinus Torvalds * Copyright (C) 1995, 1996 Russell King.
71da177e4SLinus Torvalds *
81da177e4SLinus Torvalds * This file contains various random system calls that
91da177e4SLinus Torvalds * have a non-standard calling sequence on the Linux/arm
101da177e4SLinus Torvalds * platform.
111da177e4SLinus Torvalds */
12ecea4ab6SPaul Gortmaker #include <linux/export.h>
131da177e4SLinus Torvalds #include <linux/errno.h>
141da177e4SLinus Torvalds #include <linux/sched.h>
151da177e4SLinus Torvalds #include <linux/mm.h>
161da177e4SLinus Torvalds #include <linux/sem.h>
171da177e4SLinus Torvalds #include <linux/msg.h>
181da177e4SLinus Torvalds #include <linux/shm.h>
191da177e4SLinus Torvalds #include <linux/stat.h>
201da177e4SLinus Torvalds #include <linux/syscalls.h>
211da177e4SLinus Torvalds #include <linux/mman.h>
221da177e4SLinus Torvalds #include <linux/fs.h>
231da177e4SLinus Torvalds #include <linux/file.h>
24cba4fbbfSAdrian Bunk #include <linux/ipc.h>
2533fa9b13SRussell King #include <linux/uaccess.h>
265a0e3ad6STejun Heo #include <linux/slab.h>
27*be0796b0SArnd Bergmann #include <asm/syscalls.h>
281da177e4SLinus Torvalds
2968d9102fSNicolas Pitre /*
306cbdc8c5SSimon Arlott * Since loff_t is a 64 bit type we avoid a lot of ABI hassle
3168d9102fSNicolas Pitre * with a different argument ordering.
3268d9102fSNicolas Pitre */
sys_arm_fadvise64_64(int fd,int advice,loff_t offset,loff_t len)3368d9102fSNicolas Pitre asmlinkage long sys_arm_fadvise64_64(int fd, int advice,
3468d9102fSNicolas Pitre loff_t offset, loff_t len)
3568d9102fSNicolas Pitre {
369d5b7c95SDominik Brodowski return ksys_fadvise64_64(fd, offset, len, advice);
3768d9102fSNicolas Pitre }
38