diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-05 16:52:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-05 16:52:01 +0000 |
commit | 5a21e2feed434ff652af883ed1c52be95d888523 (patch) | |
tree | d8e25a35ccc87d7140d7af49c3270524c9741012 /c/src/lib/libbsp/shared | |
parent | 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-5a21e2feed434ff652af883ed1c52be95d888523.tar.bz2 |
2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 537/bsps
* bsplibc.c: Eliminate vestiges of ticks_per_timeslice controlling
newlib reentrancy. The parameter was ignored in libc_init().
Diffstat (limited to 'c/src/lib/libbsp/shared')
-rw-r--r-- | c/src/lib/libbsp/shared/ChangeLog | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/shared/bsplibc.c | 7 |
2 files changed, 8 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog index 652091282a..c0dfe4b616 100644 --- a/c/src/lib/libbsp/shared/ChangeLog +++ b/c/src/lib/libbsp/shared/ChangeLog @@ -1,3 +1,9 @@ +2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com> + + PR 537/bsps + * bsplibc.c: Eliminate vestiges of ticks_per_timeslice controlling + newlib reentrancy. The parameter was ignored in libc_init(). + 2008-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de> * src/irq-legacy.c: Free allocated memory in handler remove. diff --git a/c/src/lib/libbsp/shared/bsplibc.c b/c/src/lib/libbsp/shared/bsplibc.c index 8bdc68f40d..1bd0ac502c 100644 --- a/c/src/lib/libbsp/shared/bsplibc.c +++ b/c/src/lib/libbsp/shared/bsplibc.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * $Id$ @@ -29,8 +29,5 @@ void bsp_libc_init( * Set up for the libc handling. */ - if ( rtems_configuration_get_ticks_per_timeslice() > 0 ) - libc_init(1); /* reentrant if possible */ - else - libc_init(0); /* non-reentrant */ + libc_init(); } |