Commit | Line | Data |
---|---|---|
d2912cb1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
1da177e4 LT |
2 | /* |
3 | * linux/arch/arm/kernel/sys_arm.c | |
4 | * | |
5 | * Copyright (C) People who wrote linux/arch/i386/kernel/sys_i386.c | |
6 | * Copyright (C) 1995, 1996 Russell King. | |
7 | * | |
1da177e4 LT |
8 | * This file contains various random system calls that |
9 | * have a non-standard calling sequence on the Linux/arm | |
10 | * platform. | |
11 | */ | |
ecea4ab6 | 12 | #include <linux/export.h> |
1da177e4 LT |
13 | #include <linux/errno.h> |
14 | #include <linux/sched.h> | |
1da177e4 LT |
15 | #include <linux/mm.h> |
16 | #include <linux/sem.h> | |
17 | #include <linux/msg.h> | |
18 | #include <linux/shm.h> | |
19 | #include <linux/stat.h> | |
20 | #include <linux/syscalls.h> | |
21 | #include <linux/mman.h> | |
22 | #include <linux/fs.h> | |
23 | #include <linux/file.h> | |
cba4fbbf | 24 | #include <linux/ipc.h> |
33fa9b13 | 25 | #include <linux/uaccess.h> |
5a0e3ad6 | 26 | #include <linux/slab.h> |
1da177e4 | 27 | |
68d9102f | 28 | /* |
6cbdc8c5 | 29 | * Since loff_t is a 64 bit type we avoid a lot of ABI hassle |
68d9102f NP |
30 | * with a different argument ordering. |
31 | */ | |
32 | asmlinkage long sys_arm_fadvise64_64(int fd, int advice, | |
33 | loff_t offset, loff_t len) | |
34 | { | |
9d5b7c95 | 35 | return ksys_fadvise64_64(fd, offset, len, advice); |
68d9102f | 36 | } |