summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/sh')
-rw-r--r--c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c2
-rw-r--r--c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c2
-rw-r--r--c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c2
-rw-r--r--c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c b/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
index 1c14cc0b2d..9776457916 100644
--- a/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
+++ b/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
@@ -170,7 +170,7 @@ void __ISR_Handler( uint32_t vector)
if ( _ISR_Nest_level )
return;
- if ( _Thread_Dispatch_in_critical_section() ) {
+ if ( !_Thread_Dispatch_is_enabled() ) {
return;
}
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 d141a2ded6..69134d9beb 100644
--- a/c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c
+++ b/c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c
@@ -172,7 +172,7 @@ void __ISR_Handler( uint32_t vector)
if ( _ISR_Nest_level )
return;
- if ( _Thread_Dispatch_in_critical_section() ) {
+ if ( !_Thread_Dispatch_is_enabled() ) {
return;
}
diff --git a/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c b/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c
index fcc867f493..77945aeddf 100644
--- a/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c
+++ b/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c
@@ -95,7 +95,7 @@ void __ISR_Handler( uint32_t vector)
if ( _ISR_Nest_level )
return;
- if ( _Thread_Dispatch_in_critical_section() ) {
+ if ( !_Thread_Dispatch_is_enabled() ) {
return;
}
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 678e23c09a..a9a24c9a3b 100644
--- a/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c
+++ b/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c
@@ -69,7 +69,7 @@ void __ISR_Handler( uint32_t vector)
if ( _ISR_Nest_level )
return;
- if ( _Thread_Dispatch_in_critical_section() ) {
+ if ( !_Thread_Dispatch_is_enabled() ) {
return;
}