summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-04-04 15:07:21 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-04-04 15:07:21 -0500
commit00ded52cbe302b400a7c4b25bdad402c8dab0460 (patch)
tree0c7505b4de5401f687b86b704546645fe86032ca
parentrtems-bsd-sync.c: Add __RTEMS_VIOLATE_KERNEL_VISIBILITY__ (diff)
downloadrtems-libbsd-00ded52cbe302b400a7c4b25bdad402c8dab0460.tar.bz2
kern_subr.c - Enable uiomove for rtems
-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 1619a17d..547feeb4 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