]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/kernel-features.h
authorRoland McGrath <roland@gnu.org>
Tue, 6 Dec 2005 00:35:22 +0000 (00:35 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 6 Dec 2005 00:35:22 +0000 (00:35 +0000)
(__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later.

ChangeLog
sysdeps/unix/sysv/linux/kernel-features.h

index 025b721d207a24a0f2853a98c8700ec6dc54bb10..f0c103ab60d99efb239645da1539cafc67f88f8c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-12-05  Roland McGrath  <roland@redhat.com>
 
+       * sysdeps/unix/sysv/linux/kernel-features.h
+       (__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later.
+
        * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
 
 2005-12-03  Ulrich Drepper  <drepper@redhat.com>
index 44ac727820c41f1879e78b934e706bb2bf35b923..9bbd97e6d21b33b592e0c3a5d9c60bdd8f0855f4 100644 (file)
 # define __ASSUME_POSIX_TIMERS         1
 #endif
 
+/* Beginning with 2.6.12 the clock and timer supports CPU clocks.  */
+#if __LINUX_KERNEL_VERSION >= 0x2060c
+# define __ASSUME_POSIX_CPU_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.