xref: /OK3568_Linux_fs/kernel/arch/hexagon/include/uapi/asm/unistd.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Syscall support for Hexagon
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or modify
8*4882a593Smuzhiyun  * it under the terms of the GNU General Public License version 2 and
9*4882a593Smuzhiyun  * only version 2 as published by the Free Software Foundation.
10*4882a593Smuzhiyun  *
11*4882a593Smuzhiyun  * This program is distributed in the hope that it will be useful,
12*4882a593Smuzhiyun  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13*4882a593Smuzhiyun  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*4882a593Smuzhiyun  * GNU General Public License for more details.
15*4882a593Smuzhiyun  *
16*4882a593Smuzhiyun  * You should have received a copy of the GNU General Public License
17*4882a593Smuzhiyun  * along with this program; if not, write to the Free Software
18*4882a593Smuzhiyun  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19*4882a593Smuzhiyun  * 02110-1301, USA.
20*4882a593Smuzhiyun  */
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun /*
23*4882a593Smuzhiyun  *  The kernel pulls this unistd.h in three different ways:
24*4882a593Smuzhiyun  *  1.  the "normal" way which gets all the __NR defines
25*4882a593Smuzhiyun  *  2.  with __SYSCALL defined to produce function declarations
26*4882a593Smuzhiyun  *  3.  with __SYSCALL defined to produce syscall table initialization
27*4882a593Smuzhiyun  *  See also:  syscalltab.c
28*4882a593Smuzhiyun  */
29*4882a593Smuzhiyun 
30*4882a593Smuzhiyun #define sys_mmap2 sys_mmap_pgoff
31*4882a593Smuzhiyun #define __ARCH_WANT_RENAMEAT
32*4882a593Smuzhiyun #define __ARCH_WANT_STAT64
33*4882a593Smuzhiyun #define __ARCH_WANT_SET_GET_RLIMIT
34*4882a593Smuzhiyun #define __ARCH_WANT_SYS_EXECVE
35*4882a593Smuzhiyun #define __ARCH_WANT_SYS_CLONE
36*4882a593Smuzhiyun #define __ARCH_WANT_SYS_VFORK
37*4882a593Smuzhiyun #define __ARCH_WANT_SYS_FORK
38*4882a593Smuzhiyun #define __ARCH_WANT_TIME32_SYSCALLS
39*4882a593Smuzhiyun 
40*4882a593Smuzhiyun #include <asm-generic/unistd.h>
41