forked from Imagelibrary/rtems
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, timer/timer.c: Fix typos in previous commit uncovered by MP build.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* console/console.c, timer/timer.c: Fix typos in previous commit
|
||||
uncovered by MP build.
|
||||
|
||||
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate copies
|
||||
|
||||
@@ -152,7 +152,7 @@ rtems_device_driver console_initialize(
|
||||
*/
|
||||
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
if ((rtems_configuration_get_user_multiprocessing_table())->node == 1))
|
||||
if (rtems_configuration_get_user_multiprocessing_table()->node == 1)
|
||||
#endif
|
||||
{
|
||||
for (i = uart0; i < uarts; i++)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
#define LEON3_TIMER_INDEX \
|
||||
(rtems_configuration_get_user_multiprocessing_table() ? : \
|
||||
((rtems_configuration_get_user_multiprocessing_table()) ? \
|
||||
(rtems_configuration_get_user_multiprocessing_table()->node) - 1 : 1)
|
||||
#else
|
||||
#define LEON3_TIMER_INDEX 0
|
||||
|
||||
Reference in New Issue
Block a user