2017-10-25 10:37:49 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
// 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
|
|
|
|
|
|
|
|
/* Use the standard ABI for syscalls */
|
|
|
|
#include <asm-generic/unistd.h>
|
|
|
|
|
|
|
|
/* Additional NDS32 specific syscalls. */
|
|
|
|
#define __NR_cacheflush (__NR_arch_specific_syscall)
|
2018-11-22 11:14:36 +08:00
|
|
|
#define __NR_udftrap (__NR_arch_specific_syscall + 1)
|
2017-10-25 10:37:49 +08:00
|
|
|
__SYSCALL(__NR_cacheflush, sys_cacheflush)
|
2018-11-22 11:14:36 +08:00
|
|
|
__SYSCALL(__NR_udftrap, sys_udftrap)
|