summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/lm32/irq.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/lm32/irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/lm32/irq.c b/cpukit/score/cpu/lm32/irq.c
index 1c50b1133a..be84d747b6 100644
--- a/cpukit/score/cpu/lm32/irq.c
+++ b/cpukit/score/cpu/lm32/irq.c
@@ -42,7 +42,7 @@ void __ISR_Handler(uint32_t vector, CPU_Interrupt_frame *ifr)
/* Interrupts are disabled upon entry to this Handler */
- _Thread_Dispatch_increment_disable_level();
+ _Thread_Dispatch_disable();
#if( CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE)
if ( _ISR_Nest_level == 0 ) {
@@ -69,7 +69,7 @@ void __ISR_Handler(uint32_t vector, CPU_Interrupt_frame *ifr)
stack_ptr = _old_stack_ptr;
#endif
- _Thread_Dispatch_decrement_disable_level();
+ _Thread_Dispatch_unnest( _Per_CPU_Get() );
_CPU_ISR_Enable( level );