[rtems-libbsd commit] kern_subr.c - Enable uiomove for rtems

Joel Sherrill joel at rtems.org
Wed Apr 4 20:05:25 UTC 2012


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed Apr  4 15:07:21 2012 -0500

kern_subr.c - Enable uiomove for rtems

---

 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 1619a17..547feeb 100644
--- a/freebsd/kern/kern_subr.c
+++ b/freebsd/kern/kern_subr.c
@@ -139,6 +139,8 @@ retry:
 }
 #endif /* ZERO_COPY_SOCKETS */
 
+#endif /* __rtems__ */
+
 int
 uiomove(void *cp, int n, struct uio *uio)
 {
@@ -208,6 +210,7 @@ out:
 	return (error);
 }
 
+#ifndef __rtems__
 /*
  * Wrapper for uiomove() that validates the arguments against a known-good
  * kernel buffer.  Currently, uiomove accepts a signed (n) argument, which




More information about the vc mailing list