summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-04-04 16:31:00 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-04-04 16:31:00 -0500
commited3790d4820eb8b75b0b2f456afe8d844d904907 (patch)
tree00730564da647cd04a52e48f2774dd98759b5f5f
parentkern_subr.c - Enable uiomove for rtems (diff)
downloadrtems-libbsd-ed3790d4820eb8b75b0b2f456afe8d844d904907.tar.bz2
Enable copyinuio
-rw-r--r--freebsd/kern/kern_subr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/kern/kern_subr.c b/freebsd/kern/kern_subr.c
index 547feeb4..88615ab1 100644
--- a/freebsd/kern/kern_subr.c
+++ b/freebsd/kern/kern_subr.c
@@ -523,6 +523,8 @@ copyinstrfrom(const void * __restrict src, void * __restrict dst, size_t len,
return (error);
}
+#endif /* __rtems__ */
+
int
copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error)
{
@@ -541,6 +543,7 @@ copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error)
return (error);
}
+#ifndef __rtems__
int
copyinuio(struct iovec *iovp, u_int iovcnt, struct uio **uiop)
{