2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>

* mpc6xx/clock/c_clock.c: CLOCK_DRIVER_USE_FAST_IDLE must be checked to
	be equal to 1 -- not just defined.
This commit is contained in:
Joel Sherrill
2008-09-05 14:44:40 +00:00
parent 40c2d41e5b
commit 3c4d041ce4
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc6xx/clock/c_clock.c: CLOCK_DRIVER_USE_FAST_IDLE must be checked to
be equal to 1 -- not just defined.
2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc83xx/network/tsec.c, new-exceptions/raw_exception.c: * mpc83xx/network/tsec.c, new-exceptions/raw_exception.c:

View File

@@ -97,7 +97,7 @@ rtems_interrupt_level l;
static void clockHandler(void) static void clockHandler(void)
{ {
#if defined(CLOCK_DRIVER_USE_FAST_IDLE) #if (CLOCK_DRIVER_USE_FAST_IDLE == 1)
do { do {
rtems_clock_tick(); rtems_clock_tick();
} while ( _Thread_Executing == _Thread_Idle && } while ( _Thread_Executing == _Thread_Idle &&