rpms/glibc/devel glibc-s390-waitid.patch,NONE,1.1
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Jan 4 09:41:32 UTC 2006
Author: jakub
Update of /cvs/dist/rpms/glibc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv2684
Added Files:
glibc-s390-waitid.patch
Log Message:
2.3.90-26
glibc-s390-waitid.patch:
kernel-features.h | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
--- NEW FILE glibc-s390-waitid.patch ---
2006-01-04 Jakub Jelinek <jakub at redhat.com>
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
Only define for 2.6.12+ on s390{,x}.
--- libc/sysdeps/unix/sysv/linux/kernel-features.h.jj 2005-12-13 16:42:22.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/kernel-features.h 2006-01-04 10:36:38.000000000 +0100
@@ -1,6 +1,6 @@
/* Set flags signalling availability of kernel features based on given
kernel version number.
- Copyright (C) 1999-2003, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1999-2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -435,9 +435,11 @@
#endif
/* Starting with version 2.6.9, the waitid system call is available.
- Except for powerpc and powerpc64, where it is available in 2.6.12. */
-#if (__LINUX_KERNEL_VERSION >= 0x020609 && !defined __powerpc__) \
- || (__LINUX_KERNEL_VERSION >= 0x02060c && defined __powerpc__)
+ Except for powerpc{,64} and s390{,x}, where it is available in 2.6.12. */
+#if (__LINUX_KERNEL_VERSION >= 0x020609 \
+ && !defined __powerpc__ && !defined __s390__) \
+ || (__LINUX_KERNEL_VERSION >= 0x02060c \
+ && (defined __powerpc__ || defined __s390__))
# define __ASSUME_WAITID_SYSCALL 1
#endif
More information about the fedora-cvs-commits
mailing list