From 1d18a9027d04625306d08c4971a7735ce4b7e9f7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 23 Nov 2016 10:15:07 +0100 Subject: arm: Fix _ARMV4_Exception_interrupt Use the right register to determine if a thread dispatch is allowed and necessary. Update #2751. --- cpukit/score/cpu/arm/arm_exc_interrupt.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/score/cpu/arm/arm_exc_interrupt.S b/cpukit/score/cpu/arm/arm_exc_interrupt.S index 355817e488..5f3433d2e3 100644 --- a/cpukit/score/cpu/arm/arm_exc_interrupt.S +++ b/cpukit/score/cpu/arm/arm_exc_interrupt.S @@ -157,7 +157,7 @@ _ARMV4_Exception_interrupt: * Check thread dispatch necessary, ISR dispatch disable and thread * dispatch disable level. */ - cmp r0, #0 + cmp r1, #0 bne .Lthread_dispatch_done /* Thread dispatch */ -- cgit v1.2.3