diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-04-04 16:31:00 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-04-04 16:31:00 -0500 |
commit | ed3790d4820eb8b75b0b2f456afe8d844d904907 (patch) | |
tree | 00730564da647cd04a52e48f2774dd98759b5f5f | |
parent | kern_subr.c - Enable uiomove for rtems (diff) | |
download | rtems-libbsd-ed3790d4820eb8b75b0b2f456afe8d844d904907.tar.bz2 |
Enable copyinuio
-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 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) { |