[rtems-libbsd commit] Add back in code to set booted.

Jennifer Averett jennifer at rtems.org
Tue Jul 17 13:17:10 UTC 2012


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

Author:    Jennifer Averett <jennifer.averett at oarcorp.com>
Date:      Tue Jul 17 08:13:57 2012 -0500

Add back in code to set booted.

---

 freebsd/vm/uma_core.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/freebsd/vm/uma_core.c b/freebsd/vm/uma_core.c
index c8141e1..d0eb812 100644
--- a/freebsd/vm/uma_core.c
+++ b/freebsd/vm/uma_core.c
@@ -54,10 +54,10 @@ __FBSDID("$FreeBSD$");
 
 /* I should really use ktr.. */
 /*
+*/
 #define UMA_DEBUG 1
 #define UMA_DEBUG_ALLOC 1
 #define UMA_DEBUG_ALLOC_1 1
-*/
 
 #include <freebsd/local/opt_ddb.h>
 #include <freebsd/local/opt_param.h>
@@ -1799,18 +1799,18 @@ uma_startup(void *bootmem, int boot_pages)
 #endif
 }
 
-#ifndef __rtems__
 /* see uma.h */
 void
 uma_startup2(void)
 {
 	booted = 1;
+#ifndef __rtems__
 	bucket_enable();
+#endif /* __rtems__ */
 #ifdef UMA_DEBUG
 	printf("UMA startup2 complete.\n");
 #endif
 }
-#endif /* __rtems__ */
 
 /*
  * Initialize our callout handle




More information about the vc mailing list