summaryrefslogtreecommitdiffstats
path: root/include/linux/uio.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/linux/uio.h
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/linux/uio.h')
-rw-r--r--include/linux/uio.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/uio.h b/include/linux/uio.h
index 5fbc2f7f1..beaafffd3 100644
--- a/include/linux/uio.h
+++ b/include/linux/uio.h
@@ -1,6 +1,8 @@
#ifndef __LINUX_UIO_H
#define __LINUX_UIO_H
+#include <linux/types.h>
+
/*
* Berkeley style UIO structures - Alan Cox 1994.
*
@@ -17,14 +19,19 @@
struct iovec
{
void *iov_base; /* BSD uses caddr_t (1003.1g requires void *) */
- size_t iov_len; /* Must be size_t (1003.1g) */
+ __kernel_size_t iov_len; /* Must be size_t (1003.1g) */
};
/*
* UIO_MAXIOV shall be at least 16 1003.1g (5.4.1.1)
*/
+#define UIO_FASTIOV 8
+#define UIO_MAXIOV 1024
+#if 0
#define UIO_MAXIOV 16 /* Maximum iovec's in one operation
16 matches BSD */
+ /* Beg pardon: BSD has 1024 --ANK */
+#endif
#endif