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