From f006d3a007b7caffd4c810fa71623b39334a1580 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 11 Mar 2003 19:02:26 +0000 Subject: Update. * sysdeps/unix/sysv/linux/ia64/system.c: New file. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with kernel >= 2.5.64. 2003-03-11 Jakub Jelinek * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7. --- sysdeps/unix/sysv/linux/kernel-features.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sysdeps/unix/sysv/linux/kernel-features.h') diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index f9d1f09050..53d8860f43 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -270,3 +270,12 @@ #if __LINUX_KERNEL_VERSION >= 132415 # define __ASSUME_POSIX_TIMERS 1 #endif + +/* The late 2.5 kernels saw a lot of new CLONE_* flags. Summarize + their availability with one define. The changes were made first + for i386 and the have to be done separately for the other archs. + For ia64 and s390* we pick 2.5.64 as the first version with support. */ +#if __LINUX_KERNEL_VERSION >= 132416 \ + && (defined __ia64__ || defined __s390__) +# define __ASSUME_CLONE_THREAD_FLAGS 1 +#endif -- cgit v1.2.3