diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-02-05 19:18:47 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-02-05 19:18:47 +0100 |
commit | 8fc39ee8febd800372770cf1be012c03b6302e44 (patch) | |
tree | 2a88b14a22c3f92f5a4991963e8e53366d816878 /libc/sysdeps/linux/common | |
parent | 8a32a32317902c09d86ad4e310828bbf3af1bf30 (diff) |
kernel-features: add __ASSUME_POSIX_CPU_TIMERS
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | 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 923341b35..c6647c8e7 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. |