summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/sh7045/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-29 00:39:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-29 00:39:41 +0000
commit61b1c413b724087930dcfc9519d150cafc6ce2f6 (patch)
tree15e3cbb53bdef0c250088754e177c74a1b526bcb /c/src/lib/libcpu/sh/sh7045/score
parent2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-61b1c413b724087930dcfc9519d150cafc6ce2f6.tar.bz2
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit * sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c, sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Add a per cpu data structure which contains the information required by RTEMS for each CPU core. This encapsulates information such as thread executing, heir, idle and dispatch needed.
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7045/score')
-rw-r--r--c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c b/c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c
index 9cd38dd723..be8f5c0a4c 100644
--- a/c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c
+++ b/c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c
@@ -175,12 +175,10 @@ void __ISR_Handler( uint32_t vector)
return;
if ( _Thread_Dispatch_disable_level ) {
- _ISR_Signals_to_thread_executing = FALSE;
return;
}
- if ( _Context_Switch_necessary || _ISR_Signals_to_thread_executing ) {
- _ISR_Signals_to_thread_executing = FALSE;
+ if ( _Context_Switch_necessary ) {
_Thread_Dispatch();
}
}