summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-23 10:15:07 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-23 12:52:05 +0100
commit1d18a9027d04625306d08c4971a7735ce4b7e9f7 (patch)
tree60f9842bcb7a178c116229df2e82810660904d65
parentpsxtests/psxkey08: Avoid rtems_semaphore_flush() (diff)
downloadrtems-1d18a9027d04625306d08c4971a7735ce4b7e9f7.tar.bz2
arm: Fix _ARMV4_Exception_interrupt
Use the right register to determine if a thread dispatch is allowed and necessary. Update #2751.
-rw-r--r--cpukit/score/cpu/arm/arm_exc_interrupt.S2
1 files changed, 1 insertions, 1 deletions
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 */