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

(__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later.
This commit is contained in:
Roland McGrath 2005-12-06 00:35:22 +00:00
parent ec116e200e
commit f3423d5ab5
2 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -318,6 +318,11 @@
# 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.