18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci// Copyright (C) 2005-2017 Andes Technology Corporation
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci#define __ARCH_WANT_STAT64
58c2ecf20Sopenharmony_ci#define __ARCH_WANT_SYNC_FILE_RANGE2
68c2ecf20Sopenharmony_ci#define __ARCH_WANT_SET_GET_RLIMIT
78c2ecf20Sopenharmony_ci#define __ARCH_WANT_TIME32_SYSCALLS
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/* Use the standard ABI for syscalls */
108c2ecf20Sopenharmony_ci#include <asm-generic/unistd.h>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci/* Additional NDS32 specific syscalls. */
138c2ecf20Sopenharmony_ci#define __NR_cacheflush		(__NR_arch_specific_syscall)
148c2ecf20Sopenharmony_ci#define __NR_fp_udfiex_crtl	(__NR_arch_specific_syscall + 1)
158c2ecf20Sopenharmony_ci__SYSCALL(__NR_cacheflush, sys_cacheflush)
168c2ecf20Sopenharmony_ci__SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)
17