18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2013 Altera Corporation
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * This program is free software; you can redistribute it and/or modify it
68c2ecf20Sopenharmony_ci * under the terms and conditions of the GNU General Public License,
78c2ecf20Sopenharmony_ci * version 2, as published by the Free Software Foundation.
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci * This program is distributed in the hope it will be useful, but WITHOUT
108c2ecf20Sopenharmony_ci * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
118c2ecf20Sopenharmony_ci * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
128c2ecf20Sopenharmony_ci * more details.
138c2ecf20Sopenharmony_ci *
148c2ecf20Sopenharmony_ci * You should have received a copy of the GNU General Public License along with
158c2ecf20Sopenharmony_ci * this program.  If not, see <http://www.gnu.org/licenses/>.
168c2ecf20Sopenharmony_ci *
178c2ecf20Sopenharmony_ci */
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci #define sys_mmap2 sys_mmap_pgoff
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#define __ARCH_WANT_RENAMEAT
228c2ecf20Sopenharmony_ci#define __ARCH_WANT_STAT64
238c2ecf20Sopenharmony_ci#define __ARCH_WANT_SET_GET_RLIMIT
248c2ecf20Sopenharmony_ci#define __ARCH_WANT_TIME32_SYSCALLS
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci/* Use the standard ABI for syscalls */
278c2ecf20Sopenharmony_ci#include <asm-generic/unistd.h>
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci/* Additional Nios II specific syscalls. */
308c2ecf20Sopenharmony_ci#define __NR_cacheflush (__NR_arch_specific_syscall)
318c2ecf20Sopenharmony_ci__SYSCALL(__NR_cacheflush, sys_cacheflush)
32