arch/arm/src/lc823450: Change irqwarn() to ASSERT() in up_ack_irq()

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2018-01-18 12:48:07 +09:00
parent d43c52cf03
commit a3ed16dd30
1 changed files with 3 additions and 1 deletions

View File

@ -711,7 +711,9 @@ void up_ack_irq(int irq)
#ifdef CONFIG_SMP
if (irq > LC823450_IRQ_LPDSP0 && 1 == up_cpu_index())
{
irqwarn("*** warning irq(%d) handled on CPU1.");
/* IRQ should be handled on CPU0 */
ASSERT(false);
}
#endif