Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorri...
[linux-2.6-microblaze.git] / arch / xtensa / include / asm / unistd.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _XTENSA_UNISTD_H
3 #define _XTENSA_UNISTD_H
4
5 #define __ARCH_WANT_SYS_CLONE
6 #include <uapi/asm/unistd.h>
7
8 #define __ARCH_WANT_NEW_STAT
9 #define __ARCH_WANT_STAT64
10 #define __ARCH_WANT_SYS_UTIME
11 #define __ARCH_WANT_SYS_GETPGRP
12
13 /* 
14  * Ignore legacy system calls in the checksyscalls.sh script
15  */
16
17 #define __IGNORE_fork                           /* use clone */
18 #define __IGNORE_time
19 #define __IGNORE_alarm                          /* use setitimer */
20 #define __IGNORE_pause
21 #define __IGNORE_mmap                           /* use mmap2 */
22 #define __IGNORE_vfork                          /* use clone */
23 #define __IGNORE_fadvise64                      /* use fadvise64_64 */
24
25 #define NR_syscalls                             __NR_syscalls
26
27 #endif /* _XTENSA_UNISTD_H */