xref: /OK3568_Linux_fs/kernel/arch/c6x/include/uapi/asm/unistd.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Copyright (C) 2011 Texas Instruments Incorporated
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Based on arch/tile version.
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  *   This program is free software; you can redistribute it and/or
8*4882a593Smuzhiyun  *   modify it under the terms of the GNU General Public License
9*4882a593Smuzhiyun  *   as published by the Free Software Foundation, version 2.
10*4882a593Smuzhiyun  *
11*4882a593Smuzhiyun  *   This program is distributed in the hope that it will be useful, but
12*4882a593Smuzhiyun  *   WITHOUT ANY WARRANTY; without even the implied warranty of
13*4882a593Smuzhiyun  *   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
14*4882a593Smuzhiyun  *   NON INFRINGEMENT.	See the GNU General Public License for
15*4882a593Smuzhiyun  *   more details.
16*4882a593Smuzhiyun  */
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun #define __ARCH_WANT_RENAMEAT
19*4882a593Smuzhiyun #define __ARCH_WANT_STAT64
20*4882a593Smuzhiyun #define __ARCH_WANT_SET_GET_RLIMIT
21*4882a593Smuzhiyun #define __ARCH_WANT_SYS_CLONE
22*4882a593Smuzhiyun #define __ARCH_WANT_TIME32_SYSCALLS
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun /* Use the standard ABI for syscalls. */
25*4882a593Smuzhiyun #include <asm-generic/unistd.h>
26*4882a593Smuzhiyun 
27*4882a593Smuzhiyun /* C6X-specific syscalls. */
28*4882a593Smuzhiyun #define __NR_cache_sync	(__NR_arch_specific_syscall + 0)
29*4882a593Smuzhiyun __SYSCALL(__NR_cache_sync, sys_cache_sync)
30