2019-07-25 15:58:31 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2017-10-25 10:37:49 +08:00
|
|
|
// Copyright (C) 2005-2017 Andes Technology Corporation
|
|
|
|
|
2018-04-13 18:19:47 +08:00
|
|
|
#define __ARCH_WANT_STAT64
|
2017-10-25 10:37:49 +08:00
|
|
|
#define __ARCH_WANT_SYNC_FILE_RANGE2
|
2018-05-16 16:18:50 +08:00
|
|
|
#define __ARCH_WANT_SET_GET_RLIMIT
|
2019-02-19 00:30:06 +08:00
|
|
|
#define __ARCH_WANT_TIME32_SYSCALLS
|
2017-10-25 10:37:49 +08: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 09:21:12 +08:00
|
|
|
#define __NR_fp_udfiex_crtl (__NR_arch_specific_syscall + 1)
|
2017-10-25 10:37:49 +08:00
|
|
|
__SYSCALL(__NR_cacheflush, sys_cacheflush)
|
2019-05-20 09:21:12 +08:00
|
|
|
__SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)
|