summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/no_cpu/cpu_asm.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-29 00:33:12 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-29 00:33:12 +0000
commit9418359d7647b53847ee922cd73a56fb4de312e1 (patch)
tree0267262f337366348d990904337cb2ccce75a3fe /cpukit/score/cpu/no_cpu/cpu_asm.c
parent2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-9418359d7647b53847ee922cd73a56fb4de312e1.tar.bz2
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit * cpu_asm.c, rtems/score/cpu.h: 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 'cpukit/score/cpu/no_cpu/cpu_asm.c')
-rw-r--r--cpukit/score/cpu/no_cpu/cpu_asm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/score/cpu/no_cpu/cpu_asm.c b/cpukit/score/cpu/no_cpu/cpu_asm.c
index 7c98a6f99f..91957204c4 100644
--- a/cpukit/score/cpu/no_cpu/cpu_asm.c
+++ b/cpukit/score/cpu/no_cpu/cpu_asm.c
@@ -166,11 +166,9 @@ void _ISR_Handler(void)
* goto the label "exit interrupt (simple case)"
*
* if ( _Thread_Dispatch_disable_level )
- * _ISR_Signals_to_thread_executing = FALSE;
* goto the label "exit interrupt (simple case)"
*
- * if ( _Context_Switch_necessary || _ISR_Signals_to_thread_executing ) {
- * _ISR_Signals_to_thread_executing = FALSE;
+ * if ( _Context_Switch_necessary ) {
* call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
* prepare to get out of interrupt
* return from interrupt (maybe to _ISR_Dispatch)