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_SYS_CLONE 20 21 /* Use the standard ABI for syscalls. */ 22 #include <asm-generic/unistd.h> 23 24 /* C6X-specific syscalls. */ 25 #define __NR_cache_sync (__NR_arch_specific_syscall + 0) 26 __SYSCALL(__NR_cache_sync, sys_cache_sync) 27