1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ALPHA_UNISTD_H
3 #define _ALPHA_UNISTD_H
5 #include <uapi/asm/unistd.h>
7 #define NR_SYSCALLS __NR_syscalls
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
23 * Ignore legacy syscalls that we don't use.
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
35 #define __IGNORE_utime
36 #define __IGNORE_umount2
38 /* Alpha doesn't have protection keys. */
39 #define __IGNORE_pkey_mprotect
40 #define __IGNORE_pkey_alloc
41 #define __IGNORE_pkey_free
43 #endif /* _ALPHA_UNISTD_H */