about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-15 23:44:08 +0000
committerRoland McGrath <roland@gnu.org>2003-03-15 23:44:08 +0000
commit7eecc0c21a4ee25034fb6a0f81ca438668244361 (patch)
treecb2318e7cd13d38016c12bb756099703491d178d /sysdeps/unix/sysv/linux/kernel-features.h
parent45e4762c2c7d04cd51213735c2b440c94cdcf28a (diff)
downloadglibc-7eecc0c21a4ee25034fb6a0f81ca438668244361.tar.gz
glibc-7eecc0c21a4ee25034fb6a0f81ca438668244361.tar.xz
glibc-7eecc0c21a4ee25034fb6a0f81ca438668244361.zip
* sysdeps/unix/sysv/linux/i386/system.c: Moved to ...
	* sysdeps/unix/sysv/linux/system.c: ... here.
	(FORK): Don't #define if already #define'd.
	* sysdeps/unix/sysv/linux/s390/system.c: File removed.
	* sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]:
	(__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 53d8860f43..06cc7f32bb 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -274,8 +274,8 @@
 /* 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.  */
+   For ia64, s390*, PPC we pick 2.5.64 as the first version with support.  */
 #if __LINUX_KERNEL_VERSION >= 132416 \
-    && (defined __ia64__ || defined __s390__)
+    && (defined __ia64__ || defined __s390__ || defined __powerpc__)
 # define __ASSUME_CLONE_THREAD_FLAGS	1
 #endif