aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-05-04 07:51:31 +0000
committerJakub Jelinek <jakub@redhat.com>2005-05-04 07:51:31 +0000
commite759ccae887cac69cd47b878c67eba5dd1934f56 (patch)
tree45ff8bf4509dc865d83e1fef0eab34ba92cb2cab /sysdeps/unix/sysv/linux/kernel-features.h
parentc5636422a9fbe30e181cb1ecd1a86d53e3797d8f (diff)
downloadglibc-e759ccae887cac69cd47b878c67eba5dd1934f56.tar
glibc-e759ccae887cac69cd47b878c67eba5dd1934f56.tar.gz
glibc-e759ccae887cac69cd47b878c67eba5dd1934f56.tar.bz2
glibc-e759ccae887cac69cd47b878c67eba5dd1934f56.zip
Updated to fedora-glibc-20050504T0728
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 26cddd5a73..002cc46c79 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -354,7 +354,7 @@
/* The tgkill syscall was instroduced for i386 in 2.5.75. For Alpha
it was introduced in 2.6.0-test1 which unfortunately cannot be
- distinguished from 2.6.0. On x86-64, ppc, and ppc64 it was
+ distinguished from 2.6.0. On x86-64, ppc, and ppc64 it was
introduced in 2.6.0-test3. */
#if (__LINUX_KERNEL_VERSION >= 132427 && defined __i386__) \
|| (__LINUX_KERNEL_VERSION >= 132609 && defined __alpha__) \
@@ -365,7 +365,7 @@
#endif
/* The utimes syscall has been available for some architectures
- forever. For x86 it was introduced after 2.5.75, for x86-64,
+ forever. For x86 it was introduced after 2.5.75, for x86-64,
ppc, and ppc64 it was introduced in 2.6.0-test3. */
#if defined __alpha__ || defined __ia64__ || defined __hppa__ \
|| defined __sparc__ \
@@ -425,8 +425,9 @@
#endif
/* Starting with version 2.6.9, the waitid system call is available.
- Except for powerpc and powerpc64. */
-#if __LINUX_KERNEL_VERSION >= 0x020609 && !defined __powerpc__
+ 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__)
# define __ASSUME_WAITID_SYSCALL 1
#endif