summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-10 18:40:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-10 18:40:36 +0000
commit93c2b412be95f3a26b826165e0fa570ca49a2173 (patch)
treec2c6c12b3542897b4d863a462dabd45ef343ec92 /c/src/lib/libbsp/shared
parent2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-93c2b412be95f3a26b826165e0fa570ca49a2173.tar.bz2
Back off patch which should not have been committed.
Diffstat (limited to 'c/src/lib/libbsp/shared')
-rw-r--r--c/src/lib/libbsp/shared/bsplibc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/shared/bsplibc.c b/c/src/lib/libbsp/shared/bsplibc.c
index f8016d5e70..f5b4f3e68a 100644
--- a/c/src/lib/libbsp/shared/bsplibc.c
+++ b/c/src/lib/libbsp/shared/bsplibc.c
@@ -31,5 +31,8 @@ void bsp_libc_init(
* Set up for the libc handling.
*/
- libc_init(1); /* reentrant if possible */
+ if ( BSP_Configuration.ticks_per_timeslice > 0 )
+ libc_init(1); /* reentrant if possible */
+ else
+ libc_init(0); /* non-reentrant */
}