summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c')
-rw-r--r--c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c8
1 files changed, 4 insertions, 4 deletions
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 f47e360d51..52a033bb75 100644
--- a/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c
+++ b/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c
@@ -56,7 +56,7 @@ void __ISR_Handler( uint32_t vector)
{
ISR_Level level;
- _ISR_Disable( level );
+ _ISR_Local_disable( level );
_Thread_Dispatch_disable();
@@ -72,13 +72,13 @@ void __ISR_Handler( uint32_t vector)
_ISR_Nest_level++;
- _ISR_Enable( level );
+ _ISR_Local_enable( level );
/* call isp */
if ( _ISR_Vector_table[ vector])
(*_ISR_Vector_table[ vector ])( vector );
- _ISR_Disable( level );
+ _ISR_Local_disable( level );
_Thread_Dispatch_enable( _Per_CPU_Get() );
@@ -90,7 +90,7 @@ void __ISR_Handler( uint32_t vector)
stack_ptr = _old_stack_ptr;
#endif
- _ISR_Enable( level );
+ _ISR_Local_enable( level );
if ( _ISR_Nest_level )
return;