18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2011 Texas Instruments Incorporated
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Based on arch/tile version.
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci *   This program is free software; you can redistribute it and/or
88c2ecf20Sopenharmony_ci *   modify it under the terms of the GNU General Public License
98c2ecf20Sopenharmony_ci *   as published by the Free Software Foundation, version 2.
108c2ecf20Sopenharmony_ci *
118c2ecf20Sopenharmony_ci *   This program is distributed in the hope that it will be useful, but
128c2ecf20Sopenharmony_ci *   WITHOUT ANY WARRANTY; without even the implied warranty of
138c2ecf20Sopenharmony_ci *   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
148c2ecf20Sopenharmony_ci *   NON INFRINGEMENT.	See the GNU General Public License for
158c2ecf20Sopenharmony_ci *   more details.
168c2ecf20Sopenharmony_ci */
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#define __ARCH_WANT_RENAMEAT
198c2ecf20Sopenharmony_ci#define __ARCH_WANT_STAT64
208c2ecf20Sopenharmony_ci#define __ARCH_WANT_SET_GET_RLIMIT
218c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYS_CLONE
228c2ecf20Sopenharmony_ci#define __ARCH_WANT_TIME32_SYSCALLS
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci/* Use the standard ABI for syscalls. */
258c2ecf20Sopenharmony_ci#include <asm-generic/unistd.h>
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci/* C6X-specific syscalls. */
288c2ecf20Sopenharmony_ci#define __NR_cache_sync	(__NR_arch_specific_syscall + 0)
298c2ecf20Sopenharmony_ci__SYSCALL(__NR_cache_sync, sys_cache_sync)
30