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 committed by Matt Thompson
parent c70df0960d
commit c93bbdcbc8

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