diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-04-04 15:07:21 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-04-04 15:07:21 -0500 |
commit | 00ded52cbe302b400a7c4b25bdad402c8dab0460 (patch) | |
tree | 0c7505b4de5401f687b86b704546645fe86032ca | |
parent | rtems-bsd-sync.c: Add __RTEMS_VIOLATE_KERNEL_VISIBILITY__ (diff) | |
download | rtems-libbsd-00ded52cbe302b400a7c4b25bdad402c8dab0460.tar.bz2 |
kern_subr.c - Enable uiomove for rtems
-rw-r--r-- | 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 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 |