forked from Imagelibrary/rtems
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not reference _Configuration_MP_table if multiprocessing is disabled.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
|
||||||
|
reference _Configuration_MP_table if multiprocessing is disabled.
|
||||||
|
|
||||||
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* libnetworking/machine/endian.h: Remove.
|
* libnetworking/machine/endian.h: Remove.
|
||||||
|
|||||||
@@ -330,10 +330,12 @@ rtems_monitor_node_cmd(
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(RTEMS_MULTIPROCESSING)
|
||||||
if ((new_node >= 1) &&
|
if ((new_node >= 1) &&
|
||||||
_Configuration_MP_table &&
|
_Configuration_MP_table &&
|
||||||
(new_node <= _Configuration_MP_table->maximum_nodes))
|
(new_node <= _Configuration_MP_table->maximum_nodes))
|
||||||
rtems_monitor_default_node = new_node;
|
rtems_monitor_default_node = new_node;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -218,6 +218,7 @@ rtems_monitor_server_init(
|
|||||||
uint32_t monitor_flags
|
uint32_t monitor_flags
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
#if defined(RTEMS_MULTIPROCESSING)
|
||||||
rtems_status_code status;
|
rtems_status_code status;
|
||||||
|
|
||||||
if (_System_state_Is_multiprocessing &&
|
if (_System_state_Is_multiprocessing &&
|
||||||
@@ -303,5 +304,6 @@ rtems_monitor_server_init(
|
|||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user