arch: cxd56xx: Fix handle_irqreq() in cxd56_cpupause.c
Summary: - The handle_irqreq() is used for remote IRQ control. - The logic is called via IPI (Inter-Processor Interrupt) - And the handler should handle only one request - However, I noticed that the handler handles up to two requests - This commit fixes this issue Impact: - Affects SMP cases only Testing: - Tested with spresense:wifi_smp Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
2cda47272a
commit
3f461f59ba
@ -149,6 +149,8 @@ static bool handle_irqreq(int cpu)
|
||||
|
||||
spin_unlock(&g_cpu_wait[cpu]);
|
||||
handled = true;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user