summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/kernel-features.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-05 22:56:03 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-05 22:56:03 +0200
commit4ae13b764d61fa9cf96414552f512b72f8b41aca (patch)
tree37c85bf47d11fddee7baa9e14ca02551415e6ef5 /libc/sysdeps/linux/common/bits/kernel-features.h
parentb24fcfb4858beef7d9114e2c4c5f10fc34b3182b (diff)
handle _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/bits/kernel-features.h')
-rw-r--r--libc/sysdeps/linux/common/bits/kernel-features.h5
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 88a71828b..5216d7bed 100644
--- a/libc/sysdeps/linux/common/bits/kernel-features.h
+++ b/libc/sysdeps/linux/common/bits/kernel-features.h
@@ -78,3 +78,8 @@
# define __ASSUME_FCNTL64 1
# define __ASSUME_VFORK_SYSCALL 1
#endif
+
+/* This header was added somewhere around 2.6.13 */
+#if __LINUX_KERNEL_VERSION >= 132621
+# define HAVE_LINUX_CPUMASK_H 1
+#endif