diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-06-14 17:44:53 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-06-16 10:13:01 +0200 |
commit | c60d32aa37fc0b10451b0d392d90b3b96eb88ebc (patch) | |
tree | 8feceb57b0b0ebbabc22faa105f1608a1ec8a117 /src/basic/missing_syscall.h | |
parent | 33863e9c1572a093818e4559e69ca02452b60d5c (diff) |
Prep v231: Apply missing fixes from upstream (1/6) src/basic
Diffstat (limited to 'src/basic/missing_syscall.h')
-rw-r--r-- | src/basic/missing_syscall.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 8a1c24cc5..84598c05b 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -181,18 +181,6 @@ static inline int setns(int fd, int nstype) { /* ======================================================================= */ #if 0 /// UNNEEDED by elogind -static inline int raw_clone(unsigned long flags, void *child_stack) { -#if defined(__s390__) || defined(__CRIS__) - /* On s390 and cris the order of the first and second arguments - * of the raw clone() system call is reversed. */ - return (int) syscall(__NR_clone, child_stack, flags); -#else - return (int) syscall(__NR_clone, flags, child_stack); -#endif -} - -/* ======================================================================= */ - static inline pid_t raw_getpid(void) { #if defined(__alpha__) return (pid_t) syscall(__NR_getxpid); |