wangzhi-art commented on code in PR #15635: URL: https://github.com/apache/nuttx/pull/15635#discussion_r1924708812
########## arch/or1k/src/mor1kx/or1k_irq.c: ########## @@ -136,9 +146,9 @@ void or1k_dump_pic(const char *msg, int irq) { irqstate_t flags; - flags = enter_critical_section(); + flags = spin_lock_irqsave(&g_irq_lock); - leave_critical_section(flags); + spin_unlock_irqrestore(&g_irq_lock, flags); Review Comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org