2010-07-30 Gedare Bloom <giddyup44@yahoo.com>

PR 1599/cpukit
	* new-exceptions/bspsupport/ppc_exc_hdl.c: Rename
	_Context_Switch_necessary to _Thread_Dispatch_necessary to more
	properly reflect the intent.
This commit is contained in:
Joel Sherrill
2010-07-30 18:51:43 +00:00
parent 1973a2a620
commit 7814f92a5d
2 changed files with 8 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ rtems_status_code ppc_exc_set_handler(unsigned vector, ppc_exc_handler_t handler
void ppc_exc_wrapup(BSP_Exception_frame *frame)
{
/* dispatch_disable level is decremented from assembly code. */
if ( _Context_Switch_necessary ) {
if ( _Thread_Dispatch_necessary ) {
/* FIXME: I believe it should be OK to re-enable
* interrupts around the execution of _Thread_Dispatch();
*/