[git commit nptl] kernel-features: add __ASSUME_POSIX_CPU_TIMERS
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Feb 5 18:19:08 UTC 2010
commit: http://git.uclibc.org/uClibc/commit/?id=8fc39ee8febd800372770cf1be012c03b6302e44
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/sysdeps/linux/common/bits/kernel-features.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/libc/sysdeps/linux/common/bits/kernel-features.h b/libc/sysdeps/linux/common/bits/kernel-features.h
index 923341b..c6647c8 100644
--- a/libc/sysdeps/linux/common/bits/kernel-features.h
+++ b/libc/sysdeps/linux/common/bits/kernel-features.h
@@ -319,6 +319,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.
--
1.6.3.3
More information about the uClibc-cvs
mailing list