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().
This commit is contained in:
Joel Sherrill
2008-08-05 16:52:01 +00:00
parent 8b08935eb8
commit 5a21e2feed
2 changed files with 8 additions and 5 deletions

View File

@@ -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> 2008-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
* src/irq-legacy.c: Free allocated memory in handler remove. * src/irq-legacy.c: Free allocated memory in handler remove.

View File

@@ -1,5 +1,5 @@
/* /*
* COPYRIGHT (c) 1989-1999. * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
* $Id$ * $Id$
@@ -29,8 +29,5 @@ void bsp_libc_init(
* Set up for the libc handling. * Set up for the libc handling.
*/ */
if ( rtems_configuration_get_ticks_per_timeslice() > 0 ) libc_init();
libc_init(1); /* reentrant if possible */
else
libc_init(0); /* non-reentrant */
} }