summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c b/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c
index 5a66d18e69..771d493ea0 100644
--- a/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c
+++ b/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c
@@ -72,12 +72,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();
}
}