mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
arm_cpupause.c edited online with Bitbucke. What was I thinking... Back out previous change.
This commit is contained in:
@@ -192,7 +192,7 @@ int arm_pause_handler(int irq, FAR void *context)
|
|||||||
* been processed then g_cpu_paused[cpu] will not be locked.
|
* 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);
|
return up_cpu_paused(cpu);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user