summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-12-03 14:06:15 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-12-03 14:06:15 +0000
commitd1fc67df4bd119d1d1b8be41c6a96b73e9ad04f1 (patch)
tree66d4055b16132143832ecf458225933300d47840 /libc/sysdeps
parent8596cf884602b7cb682a771a9518b02de2cd27a4 (diff)
Two other absolutely safe change that will be used by NPTL, aimed
to simplify merge.
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_local_lim.h2
-rw-r--r--libc/sysdeps/linux/common/bits/uio.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_local_lim.h b/libc/sysdeps/linux/common/bits/uClibc_local_lim.h
index 6c23f398b..abfc86de5 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_local_lim.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_local_lim.h
@@ -16,7 +16,7 @@
#endif
/* This should really be moved to thread specific directories */
-#if defined __UCLIBC_HAS_THREADS__
+#if defined __UCLIBC_HAS_THREADS__ && !defined __UCLIBC_HAS_THREADS_NATIVE__
# define PTHREAD_THREADS_MAX 1024
# define TIMER_MAX 256
#endif
diff --git a/libc/sysdeps/linux/common/bits/uio.h b/libc/sysdeps/linux/common/bits/uio.h
index 6a283ed77..87f916d71 100644
--- a/libc/sysdeps/linux/common/bits/uio.h
+++ b/libc/sysdeps/linux/common/bits/uio.h
@@ -38,6 +38,7 @@
functionality even if the currently running kernel does not support
this large value the readv/writev call will not fail because of this. */
#define UIO_MAXIOV 1024
+#define UIO_FASTIOV 8
/* Structure for scatter/gather I/O. */