2019-07-25 07:58:31 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2017-10-25 02:37:49 +00:00
|
|
|
// Copyright (C) 2005-2017 Andes Technology Corporation
|
|
|
|
|
2018-04-13 10:19:47 +00:00
|
|
|
#define __ARCH_WANT_STAT64
|
2017-10-25 02:37:49 +00:00
|
|
|
#define __ARCH_WANT_SYNC_FILE_RANGE2
|
2018-05-16 08:18:50 +00:00
|
|
|
#define __ARCH_WANT_SET_GET_RLIMIT
|
2019-02-18 16:30:06 +00:00
|
|
|
#define __ARCH_WANT_TIME32_SYSCALLS
|
2017-10-25 02:37:49 +00:00
|
|
|
|
|
|
|
/* Use the standard ABI for syscalls */
|
|
|
|
#include <asm-generic/unistd.h>
|
|
|
|
|
|
|
|
/* Additional NDS32 specific syscalls. */
|
|
|
|
#define __NR_cacheflush (__NR_arch_specific_syscall)
|
2019-05-20 01:21:12 +00:00
|
|
|
#define __NR_fp_udfiex_crtl (__NR_arch_specific_syscall + 1)
|
2017-10-25 02:37:49 +00:00
|
|
|
__SYSCALL(__NR_cacheflush, sys_cacheflush)
|
2019-05-20 01:21:12 +00:00
|
|
|
__SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)
|