From 7814f92a5d643543a41000235632fac209ec0a94 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 30 Jul 2010 18:51:43 +0000 Subject: 2010-07-30 Gedare Bloom PR 1599/cpukit * new-exceptions/bspsupport/ppc_exc_hdl.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent. --- c/src/lib/libcpu/powerpc/ChangeLog | 7 +++++++ c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + 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 * 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(); */ -- cgit v1.2.3