diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2012-03-27 13:42:16 -0500 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2012-03-27 13:42:16 -0500 |
commit | 9fe8c97ccd95e8e2c4ea5c801cf97332af0a25f2 (patch) | |
tree | 3a2e107a552c49be47a55822250e444a274071f7 | |
parent | Add bootverbose (diff) | |
download | rtems-libbsd-9fe8c97ccd95e8e2c4ea5c801cf97332af0a25f2.tar.bz2 |
Commented out methods to prevent linker errors.
Removed methods that would require we pull in more files
that we didn't need at the moment.
-rw-r--r-- | freebsd/kern/kern_subr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/kern/kern_subr.c b/freebsd/kern/kern_subr.c index f32e8750..1619a17d 100644 --- a/freebsd/kern/kern_subr.c +++ b/freebsd/kern/kern_subr.c @@ -70,6 +70,7 @@ __FBSDID("$FreeBSD$"); #include <freebsd/vm/vm_object.h> #endif +#ifndef __rtems__ SYSCTL_INT(_kern, KERN_IOV_MAX, iov_max, CTLFLAG_RD, NULL, UIO_MAXIOV, "Maximum number of elements in an I/O vector; sysconf(_SC_IOV_MAX)"); @@ -372,6 +373,7 @@ again: uio->uio_offset++; return (0); } +#endif /* __rtems__ */ /* * General routine to allocate a hash table with control of memory flags. @@ -463,6 +465,7 @@ phashinit(int elements, struct malloc_type *type, u_long *nentries) return (hashtbl); } +#ifndef __rtems__ void uio_yield(void) { @@ -584,3 +587,4 @@ cloneuio(struct uio *uiop) bcopy(uiop->uio_iov, uio->uio_iov, iovlen); return (uio); } +#endif /* __rtems__ */ |