xref: /openbmc/linux/arch/alpha/include/asm/unistd.h (revision cce8e04c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ALPHA_UNISTD_H
3 #define _ALPHA_UNISTD_H
4 
5 #include <uapi/asm/unistd.h>
6 
7 #define NR_SYSCALLS	__NR_syscalls
8 
9 #define __ARCH_WANT_NEW_STAT
10 #define __ARCH_WANT_OLD_READDIR
11 #define __ARCH_WANT_STAT64
12 #define __ARCH_WANT_SYS_GETHOSTNAME
13 #define __ARCH_WANT_SYS_FADVISE64
14 #define __ARCH_WANT_SYS_GETPGRP
15 #define __ARCH_WANT_SYS_OLDUMOUNT
16 #define __ARCH_WANT_SYS_SIGPENDING
17 #define __ARCH_WANT_SYS_UTIME
18 #define __ARCH_WANT_SYS_FORK
19 #define __ARCH_WANT_SYS_VFORK
20 #define __ARCH_WANT_SYS_CLONE
21 
22 /*
23  * Ignore legacy syscalls that we don't use.
24  */
25 #define __IGNORE_alarm
26 #define __IGNORE_creat
27 #define __IGNORE_getegid
28 #define __IGNORE_geteuid
29 #define __IGNORE_getgid
30 #define __IGNORE_getpid
31 #define __IGNORE_getppid
32 #define __IGNORE_getuid
33 #define __IGNORE_pause
34 #define __IGNORE_time
35 #define __IGNORE_utime
36 #define __IGNORE_umount2
37 
38 /* Alpha doesn't have protection keys. */
39 #define __IGNORE_pkey_mprotect
40 #define __IGNORE_pkey_alloc
41 #define __IGNORE_pkey_free
42 
43 #endif /* _ALPHA_UNISTD_H */
44