162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (C) 2013 Altera Corporation 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * This program is free software; you can redistribute it and/or modify it 662306a36Sopenharmony_ci * under the terms and conditions of the GNU General Public License, 762306a36Sopenharmony_ci * version 2, as published by the Free Software Foundation. 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci * This program is distributed in the hope it will be useful, but WITHOUT 1062306a36Sopenharmony_ci * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1162306a36Sopenharmony_ci * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 1262306a36Sopenharmony_ci * more details. 1362306a36Sopenharmony_ci * 1462306a36Sopenharmony_ci * You should have received a copy of the GNU General Public License along with 1562306a36Sopenharmony_ci * this program. If not, see <http://www.gnu.org/licenses/>. 1662306a36Sopenharmony_ci * 1762306a36Sopenharmony_ci */ 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci #define sys_mmap2 sys_mmap_pgoff 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci#define __ARCH_WANT_RENAMEAT 2262306a36Sopenharmony_ci#define __ARCH_WANT_STAT64 2362306a36Sopenharmony_ci#define __ARCH_WANT_SET_GET_RLIMIT 2462306a36Sopenharmony_ci#define __ARCH_WANT_TIME32_SYSCALLS 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci/* Use the standard ABI for syscalls */ 2762306a36Sopenharmony_ci#include <asm-generic/unistd.h> 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci/* Additional Nios II specific syscalls. */ 3062306a36Sopenharmony_ci#define __NR_cacheflush (__NR_arch_specific_syscall) 3162306a36Sopenharmony_ci__SYSCALL(__NR_cacheflush, sys_cacheflush) 32