arm_cpupause.c edited online with Bitbucke. What was I thinking... Back out previous change.

This commit is contained in:
Gregory Nutt 2016-11-24 04:45:07 +00:00
parent 19e7f2210e
commit c03d126da6

View File

@ -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);
}