summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-30 18:51:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-30 18:51:43 +0000
commit7814f92a5d643543a41000235632fac209ec0a94 (patch)
treeaf0161abdccd9b8113bcaf19e1fc8a158b4e1b3e
parent2010-07-30 Gedare Bloom <giddyup44@yahoo.com> (diff)
downloadrtems-7814f92a5d643543a41000235632fac209ec0a94.tar.bz2
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.
-rw-r--r--c/src/lib/libcpu/powerpc/ChangeLog7
-rw-r--r--c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog
index 30deaa4028..0ee6917135 100644
--- a/c/src/lib/libcpu/powerpc/ChangeLog
+++ b/c/src/lib/libcpu/powerpc/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2010-06-29 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added include of
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c
index 4ff43cd675..771c005cea 100644
--- a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c
+++ b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c
@@ -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();
*/