4 * Derived from "include/asm-i386/unistd.h"
6 #ifndef _ASM_S390_UNISTD_H_
7 #define _ASM_S390_UNISTD_H_
9 #include <uapi/asm/unistd.h>
13 #define __IGNORE_select
18 /* Ignore NUMA system calls. Not wired up on s390. */
19 #define __IGNORE_mbind
20 #define __IGNORE_get_mempolicy
21 #define __IGNORE_set_mempolicy
22 #define __IGNORE_migrate_pages
23 #define __IGNORE_move_pages
25 /* Ignore system calls that are also reachable via sys_socket */
26 #define __IGNORE_recvmmsg
27 #define __IGNORE_sendmmsg
29 #define __ARCH_WANT_OLD_READDIR
30 #define __ARCH_WANT_SYS_ALARM
31 #define __ARCH_WANT_SYS_GETHOSTNAME
32 #define __ARCH_WANT_SYS_PAUSE
33 #define __ARCH_WANT_SYS_SIGNAL
34 #define __ARCH_WANT_SYS_UTIME
35 #define __ARCH_WANT_SYS_SOCKETCALL
36 #define __ARCH_WANT_SYS_IPC
37 #define __ARCH_WANT_SYS_FADVISE64
38 #define __ARCH_WANT_SYS_GETPGRP
39 #define __ARCH_WANT_SYS_LLSEEK
40 #define __ARCH_WANT_SYS_NICE
41 #define __ARCH_WANT_SYS_OLD_GETRLIMIT
42 #define __ARCH_WANT_SYS_OLD_MMAP
43 #define __ARCH_WANT_SYS_OLDUMOUNT
44 #define __ARCH_WANT_SYS_SIGPENDING
45 #define __ARCH_WANT_SYS_SIGPROCMASK
46 #define __ARCH_WANT_SYS_RT_SIGACTION
47 #define __ARCH_WANT_SYS_RT_SIGSUSPEND
49 # define __ARCH_WANT_STAT64
50 # define __ARCH_WANT_SYS_TIME
53 # define __ARCH_WANT_COMPAT_SYS_TIME
54 # define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
56 #define __ARCH_WANT_SYS_EXECVE
57 #define __ARCH_WANT_SYS_FORK
58 #define __ARCH_WANT_SYS_VFORK
59 #define __ARCH_WANT_SYS_CLONE
62 * "Conditional" syscalls
64 * What we want is __attribute__((weak,alias("sys_ni_syscall"))),
65 * but it doesn't work on all toolchains, so we just do it by hand
67 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
69 #endif /* _ASM_S390_UNISTD_H_ */