x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
[cris-mirror.git] / arch / c6x / include / uapi / asm / unistd.h
blob0d2daf7f9809c37e68c2bdb7c49cb270be1f298f
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * Copyright (C) 2011 Texas Instruments Incorporated
5 * Based on arch/tile version.
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.
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.
18 #define __ARCH_WANT_RENAMEAT
19 #define __ARCH_WANT_SYS_CLONE
21 /* Use the standard ABI for syscalls. */
22 #include <asm-generic/unistd.h>
24 /* C6X-specific syscalls. */
25 #define __NR_cache_sync (__NR_arch_specific_syscall + 0)
26 __SYSCALL(__NR_cache_sync, sys_cache_sync)