/* Check if it is the first-acknowledging core to the common interrupt if IDU is programmed in the first-acknowledged mode  */
uint32_t z_arc_connect_idu_check_first(uint32_t irq_num)
/* Check if it is the first-acknowledging core to the common interrupt if IDU is programmed in the first-acknowledged mode  */
uint32_t z_arc_connect_idu_check_first(uint32_t irq_num)
{
	uint32_t ret = 0;
	K_SPINLOCK(&arc_connect_spinlock) {
		z_arc_connect_cmd(ARC_CONNECT_CMD_IDU_CHECK_FIRST, irq_num);
		ret = z_arc_connect_cmd_readback();
	}
	return ret;
}