[rtems-libbsd commit] Enable copyinuio

Joel Sherrill joel at rtems.org
Wed Apr 4 21:29:29 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    ed3790d4820eb8b75b0b2f456afe8d844d904907
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=ed3790d4820eb8b75b0b2f456afe8d844d904907

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed Apr  4 16:31:00 2012 -0500

Enable copyinuio

---

 freebsd/kern/kern_subr.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/freebsd/kern/kern_subr.c b/freebsd/kern/kern_subr.c
index 547feeb..88615ab 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)
 {




More information about the vc mailing list