2005-04-16 22:20:36 +00:00
|
|
|
/*
|
|
|
|
* S390 version
|
|
|
|
*
|
|
|
|
* Derived from "include/asm-i386/unistd.h"
|
|
|
|
*/
|
|
|
|
#ifndef _ASM_S390_UNISTD_H_
|
|
|
|
#define _ASM_S390_UNISTD_H_
|
|
|
|
|
2012-10-09 08:47:31 +00:00
|
|
|
#include <uapi/asm/unistd.h>
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2006-04-29 00:51:47 +00:00
|
|
|
|
2007-05-21 09:25:20 +00:00
|
|
|
#ifndef CONFIG_64BIT
|
|
|
|
#define __IGNORE_select
|
|
|
|
#else
|
|
|
|
#define __IGNORE_time
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Ignore NUMA system calls. Not wired up on s390. */
|
|
|
|
#define __IGNORE_mbind
|
|
|
|
#define __IGNORE_get_mempolicy
|
|
|
|
#define __IGNORE_set_mempolicy
|
|
|
|
#define __IGNORE_migrate_pages
|
|
|
|
#define __IGNORE_move_pages
|
|
|
|
|
2010-01-13 19:44:42 +00:00
|
|
|
/* Ignore system calls that are also reachable via sys_socket */
|
|
|
|
#define __IGNORE_recvmmsg
|
2011-05-23 08:24:47 +00:00
|
|
|
#define __IGNORE_sendmmsg
|
2010-01-13 19:44:42 +00:00
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
#define __ARCH_WANT_OLD_READDIR
|
|
|
|
#define __ARCH_WANT_SYS_ALARM
|
|
|
|
#define __ARCH_WANT_SYS_GETHOSTNAME
|
|
|
|
#define __ARCH_WANT_SYS_PAUSE
|
|
|
|
#define __ARCH_WANT_SYS_SIGNAL
|
|
|
|
#define __ARCH_WANT_SYS_UTIME
|
|
|
|
#define __ARCH_WANT_SYS_SOCKETCALL
|
2011-12-27 10:27:21 +00:00
|
|
|
#define __ARCH_WANT_SYS_IPC
|
2005-04-16 22:20:36 +00:00
|
|
|
#define __ARCH_WANT_SYS_FADVISE64
|
|
|
|
#define __ARCH_WANT_SYS_GETPGRP
|
|
|
|
#define __ARCH_WANT_SYS_LLSEEK
|
|
|
|
#define __ARCH_WANT_SYS_NICE
|
|
|
|
#define __ARCH_WANT_SYS_OLD_GETRLIMIT
|
2010-03-10 23:21:15 +00:00
|
|
|
#define __ARCH_WANT_SYS_OLD_MMAP
|
2005-04-16 22:20:36 +00:00
|
|
|
#define __ARCH_WANT_SYS_OLDUMOUNT
|
|
|
|
#define __ARCH_WANT_SYS_SIGPENDING
|
|
|
|
#define __ARCH_WANT_SYS_SIGPROCMASK
|
|
|
|
#define __ARCH_WANT_SYS_RT_SIGACTION
|
2006-02-01 11:06:38 +00:00
|
|
|
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
|
2006-01-06 08:19:28 +00:00
|
|
|
# ifndef CONFIG_64BIT
|
2005-04-16 22:20:36 +00:00
|
|
|
# define __ARCH_WANT_STAT64
|
|
|
|
# define __ARCH_WANT_SYS_TIME
|
|
|
|
# endif
|
2006-02-01 11:06:38 +00:00
|
|
|
# ifdef CONFIG_COMPAT
|
|
|
|
# define __ARCH_WANT_COMPAT_SYS_TIME
|
|
|
|
# define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
|
|
|
|
# endif
|
2012-09-06 19:48:11 +00:00
|
|
|
#define __ARCH_WANT_SYS_EXECVE
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* "Conditional" syscalls
|
|
|
|
*
|
|
|
|
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
|
|
|
|
* but it doesn't work on all toolchains, so we just do it by hand
|
|
|
|
*/
|
|
|
|
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
|
|
|
|
|
|
|
|
#endif /* _ASM_S390_UNISTD_H_ */
|