Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/arm/kernel/sys_arm.c |
| 3 | * |
| 4 | * Copyright (C) People who wrote linux/arch/i386/kernel/sys_i386.c |
| 5 | * Copyright (C) 1995, 1996 Russell King. |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License version 2 as |
| 9 | * published by the Free Software Foundation. |
| 10 | * |
| 11 | * This file contains various random system calls that |
| 12 | * have a non-standard calling sequence on the Linux/arm |
| 13 | * platform. |
| 14 | */ |
Paul Gortmaker | ecea4ab | 2011-07-22 10:58:34 -0400 | [diff] [blame] | 15 | #include <linux/export.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | #include <linux/errno.h> |
| 17 | #include <linux/sched.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #include <linux/mm.h> |
| 19 | #include <linux/sem.h> |
| 20 | #include <linux/msg.h> |
| 21 | #include <linux/shm.h> |
| 22 | #include <linux/stat.h> |
| 23 | #include <linux/syscalls.h> |
| 24 | #include <linux/mman.h> |
| 25 | #include <linux/fs.h> |
| 26 | #include <linux/file.h> |
Adrian Bunk | cba4fbb | 2007-10-16 23:29:24 -0700 | [diff] [blame] | 27 | #include <linux/ipc.h> |
Russell King | 33fa9b1 | 2008-09-06 11:35:55 +0100 | [diff] [blame] | 28 | #include <linux/uaccess.h> |
Tejun Heo | 5a0e3ad | 2010-03-24 17:04:11 +0900 | [diff] [blame] | 29 | #include <linux/slab.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | |
Nicolas Pitre | 68d9102 | 2005-09-01 12:37:13 +0100 | [diff] [blame] | 31 | /* |
Simon Arlott | 6cbdc8c | 2007-05-11 20:40:30 +0100 | [diff] [blame] | 32 | * Since loff_t is a 64 bit type we avoid a lot of ABI hassle |
Nicolas Pitre | 68d9102 | 2005-09-01 12:37:13 +0100 | [diff] [blame] | 33 | * with a different argument ordering. |
| 34 | */ |
| 35 | asmlinkage long sys_arm_fadvise64_64(int fd, int advice, |
| 36 | loff_t offset, loff_t len) |
| 37 | { |
| 38 | return sys_fadvise64_64(fd, offset, len, advice); |
| 39 | } |