summaryrefslogtreecommitdiffstats
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
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 12:56:05 -0700
commit127f4f9c90a7ce86a1c442d90c85141e98c3ec36 (patch)
treefded4f41ce7a77684dbbf422d76655357830aa75 /libc/sysdeps/linux/common/bits/kernel-features.h
parent69a24da405aeb3a69e6339cc9f0992956ca503fb (diff)
downloaduClibc-alpine-127f4f9c90a7ce86a1c442d90c85141e98c3ec36.tar.bz2
uClibc-alpine-127f4f9c90a7ce86a1c442d90c85141e98c3ec36.tar.xz
handle _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.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 d95ff7412..1f6ca094b 100644
--- a/libc/sysdeps/linux/common/bits/kernel-features.h
+++ b/libc/sysdeps/linux/common/bits/kernel-features.h
@@ -435,3 +435,8 @@
#if __LINUX_KERNEL_VERSION >= 0x020609 && defined __alpha__
#define __ASSUME_IEEE_RAISE_EXCEPTION 1
#endif
+
+/* This header was added somewhere around 2.6.13 */
+#if __LINUX_KERNEL_VERSION >= 132621
+# define HAVE_LINUX_CPUMASK_H 1
+#endif