[rtems-libbsd commit] Move M_IOV to reduce dependencies

Sebastian Huber sebh at rtems.org
Wed Apr 18 15:38:09 UTC 2012


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Apr 18 17:40:39 2012 +0200

Move M_IOV to reduce dependencies

---

 rtemsbsd/src/rtems-bsd-generic.c |    2 --
 rtemsbsd/src/rtems-bsd-malloc.c  |    2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtemsbsd/src/rtems-bsd-generic.c b/rtemsbsd/src/rtems-bsd-generic.c
index bba9fd7..1fcd811 100644
--- a/rtemsbsd/src/rtems-bsd-generic.c
+++ b/rtemsbsd/src/rtems-bsd-generic.c
@@ -36,8 +36,6 @@
 #include <freebsd/sys/mutex.h>
 #include <freebsd/sys/malloc.h>
 
-MALLOC_DEFINE(M_IOV, "iov", "large iov's");
-
 void selrecord(struct thread *selector, struct selinfo *sip)
 {
 	BSD_PANIC("not implemented");
diff --git a/rtemsbsd/src/rtems-bsd-malloc.c b/rtemsbsd/src/rtems-bsd-malloc.c
index 4735549..41711ac 100644
--- a/rtemsbsd/src/rtems-bsd-malloc.c
+++ b/rtemsbsd/src/rtems-bsd-malloc.c
@@ -35,6 +35,8 @@ MALLOC_DEFINE(M_TEMP, "temp", "misc temporary data buffers");
 MALLOC_DEFINE(M_IP6OPT, "ip6opt", "IPv6 options");
 MALLOC_DEFINE(M_IP6NDP, "ip6ndp", "IPv6 Neighbor Discovery");
 
+MALLOC_DEFINE(M_IOV, "iov", "large iov's");
+
 void
 malloc_init(void *data)
 {




More information about the vc mailing list