From 04bd2617269880afaafa8f0647aaeda50b50698c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sun, 13 Nov 2016 15:18:58 +0100 Subject: arm: Use TPIDRPRW for current per-CPU control Use the previously unused TPIDRPRW register to get the per-CPU control of the current processor. This avoids instructions in GET_SELF_CPU_CONTROL which are not available in Thumb mode. --- cpukit/score/cpu/arm/arm_exc_interrupt.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/cpu/arm/arm_exc_interrupt.S') diff --git a/cpukit/score/cpu/arm/arm_exc_interrupt.S b/cpukit/score/cpu/arm/arm_exc_interrupt.S index fcb1510b95..61a9c3e65a 100644 --- a/cpukit/score/cpu/arm/arm_exc_interrupt.S +++ b/cpukit/score/cpu/arm/arm_exc_interrupt.S @@ -86,7 +86,7 @@ _ARMV4_Exception_interrupt: #endif /* ARM_MULTILIB_VFP */ /* Get per-CPU control of current processor */ - GET_SELF_CPU_CONTROL SELF_CPU_CONTROL, r1 + GET_SELF_CPU_CONTROL SELF_CPU_CONTROL /* Remember INT stack pointer */ mov r1, EXCHANGE_INT_SP -- cgit v1.2.3