[rtems-libbsd commit] Resolved an initialization order issue in link01.exe

Jennifer Averett jennifer at rtems.org
Wed May 30 16:51:56 UTC 2012


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

Author:    Jennifer Averett <jennifer.averett at oarcorp.com>
Date:      Wed May 30 11:54:23 2012 -0500

Resolved an initialization order issue in link01.exe
Note that the order may still need to be adjusted.

---

 rtemsbsd/src/rtems-bsd-thread0-ucred.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rtemsbsd/src/rtems-bsd-thread0-ucred.c b/rtemsbsd/src/rtems-bsd-thread0-ucred.c
index c3e17f9..4ff61ea 100644
--- a/rtemsbsd/src/rtems-bsd-thread0-ucred.c
+++ b/rtemsbsd/src/rtems-bsd-thread0-ucred.c
@@ -50,4 +50,4 @@ static void rtems_bsd_thread0_ucred_init(void *arg)
 	rtems_bsd_thread0_ucred->cr_prison = &prison0;
 }
 
-SYSINIT(cpu, SI_SUB_CPU, SI_ORDER_FIRST, rtems_bsd_thread0_ucred_init, NULL);
+SYSINIT(cpu, SI_SUB_INTRINSIC, SI_ORDER_SECOND, rtems_bsd_thread0_ucred_init, NULL);




More information about the vc mailing list