summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2012-04-16 12:04:31 -0500
committerJennifer Averett <jennifer.averett@oarcorp.com>2012-04-16 12:04:31 -0500
commit6053efdfaa179e1a0fd00df35b2782aa0113fcd7 (patch)
tree7d188b172f1c7eecd42edb8c3bfe88d14e7fbb05 /freebsd
parentAdded _rw_try_upgrade & _rw_try_upgrade to resolve linker errors. (diff)
downloadrtems-libbsd-6053efdfaa179e1a0fd00df35b2782aa0113fcd7.tar.bz2
Added thread0 variable to resolve linker error.
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/kern/init_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/kern/init_main.c b/freebsd/kern/init_main.c
index 292e00a7..7ba9a44f 100644
--- a/freebsd/kern/init_main.c
+++ b/freebsd/kern/init_main.c
@@ -104,7 +104,9 @@ void mi_startup(void); /* Should be elsewhere */
static struct session session0;
static struct pgrp pgrp0;
struct proc proc0;
+#endif /* __rtems__ */
struct thread thread0 __aligned(16);
+#ifndef __rtems__
struct vmspace vmspace0;
struct proc *initproc;