xref: /openbmc/linux/arch/s390/include/asm/unistd.h (revision 12eb4683)
1 /*
2  *  S390 version
3  *
4  *  Derived from "include/asm-i386/unistd.h"
5  */
6 #ifndef _ASM_S390_UNISTD_H_
7 #define _ASM_S390_UNISTD_H_
8 
9 #include <uapi/asm/unistd.h>
10 
11 
12 #ifndef CONFIG_64BIT
13 #define __IGNORE_select
14 #else
15 #define __IGNORE_time
16 #endif
17 
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
24 
25 /* Ignore system calls that are also reachable via sys_socket */
26 #define __IGNORE_recvmmsg
27 #define __IGNORE_sendmmsg
28 
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 # ifndef CONFIG_64BIT
47 #   define __ARCH_WANT_STAT64
48 #   define __ARCH_WANT_SYS_TIME
49 # endif
50 # ifdef CONFIG_COMPAT
51 #   define __ARCH_WANT_COMPAT_SYS_TIME
52 # endif
53 #define __ARCH_WANT_SYS_FORK
54 #define __ARCH_WANT_SYS_VFORK
55 #define __ARCH_WANT_SYS_CLONE
56 
57 #endif /* _ASM_S390_UNISTD_H_ */
58