diff options
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ChangeLog.ia64 | 7 | ||||
-rw-r--r-- | ports/ChangeLog.tile | 5 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/ia64/kernel-features.h | 4 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/ia64/system.c | 4 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/tile/kernel-features.h | 1 |
5 files changed, 13 insertions, 8 deletions
diff --git a/ports/ChangeLog.ia64 b/ports/ChangeLog.ia64 index 4d2110d..27b4b7e 100644 --- a/ports/ChangeLog.ia64 +++ b/ports/ChangeLog.ia64 @@ -1,3 +1,10 @@ +2012-08-14 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + (__ASSUME_CLONE_THREAD_FLAGS): Remove. + * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Define + unconditionally. + 2012-08-12 Mike Frysinger <vapier@gentoo.org> * sysdeps/ia64/configure.in: Remove TLS check. diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile index 164a7e6..53afc69 100644 --- a/ports/ChangeLog.tile +++ b/ports/ChangeLog.tile @@ -1,3 +1,8 @@ +2012-08-14 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/unix/sysv/linux/tile/kernel-features.h + (__ASSUME_CLONE_THREAD_FLAGS): Remove. + 2012-08-08 Joseph Myers <joseph@codesourcery.com> * sysdeps/unix/sysv/linux/tile/kernel-features.h diff --git a/ports/sysdeps/unix/sysv/linux/ia64/kernel-features.h b/ports/sysdeps/unix/sysv/linux/ia64/kernel-features.h index 061a86d..bd3e377 100644 --- a/ports/sysdeps/unix/sysv/linux/ia64/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/ia64/kernel-features.h @@ -20,10 +20,6 @@ #ifndef _KERNEL_FEATURES_H #define _KERNEL_FEATURES_H 1 -/* The late 2.5 kernels saw a lot of new CLONE_* flags. Summarize - their availability with one define. */ -#define __ASSUME_CLONE_THREAD_FLAGS 1 - /* The utimes syscall has been available for some architectures forever. */ #define __ASSUME_UTIMES 1 diff --git a/ports/sysdeps/unix/sysv/linux/ia64/system.c b/ports/sysdeps/unix/sysv/linux/ia64/system.c index f02a99e..6970a1f 100644 --- a/ports/sysdeps/unix/sysv/linux/ia64/system.c +++ b/ports/sysdeps/unix/sysv/linux/ia64/system.c @@ -25,10 +25,8 @@ return. It might still be in the kernel when the cancellation request comes. Therefore we have to use the clone() calls ability to have the kernel write the PID into the user-level variable. */ -#ifdef __ASSUME_CLONE_THREAD_FLAGS -# define FORK() \ +#define FORK() \ INLINE_SYSCALL (clone2, 6, CLONE_PARENT_SETTID | SIGCHLD, NULL, 0, \ &pid, NULL, NULL) -#endif #include <sysdeps/unix/sysv/linux/system.c> diff --git a/ports/sysdeps/unix/sysv/linux/tile/kernel-features.h b/ports/sysdeps/unix/sysv/linux/tile/kernel-features.h index 3c00344..956f14c 100644 --- a/ports/sysdeps/unix/sysv/linux/tile/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/tile/kernel-features.h @@ -20,7 +20,6 @@ /* TILE glibc support starts with 2.6.36, guaranteeing many kernel features. */ #define __ASSUME_MMAP2_SYSCALL 1 #define __ASSUME_STAT64_SYSCALL 1 -#define __ASSUME_CLONE_THREAD_FLAGS 1 #define __ASSUME_UTIMES 1 #define __ASSUME_FADVISE64_64_SYSCALL 1 #define __ASSUME_O_CLOEXEC 1 |