From c03d126da6e43b4934d9f29a1e83314ea451b2d0 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 24 Nov 2016 04:45:07 +0000 Subject: [PATCH] arm_cpupause.c edited online with Bitbucke. What was I thinking... Back out previous change. --- arch/arm/src/armv7-a/arm_cpupause.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/armv7-a/arm_cpupause.c b/arch/arm/src/armv7-a/arm_cpupause.c index 1e7fca94c1..1b5726aba9 100644 --- a/arch/arm/src/armv7-a/arm_cpupause.c +++ b/arch/arm/src/armv7-a/arm_cpupause.c @@ -192,7 +192,7 @@ int arm_pause_handler(int irq, FAR void *context) * been processed then g_cpu_paused[cpu] will not be locked. */ - if (!spin_islocked(&g_cpu_paused[cpu])) + if (spin_islocked(&g_cpu_paused[cpu])) { return up_cpu_paused(cpu); }