fix: fix for kernel 6.19

This commit is contained in:
Shen Mintao
2026-02-27 14:20:43 +08:00
parent 3a0945bdcc
commit a16a8c47ed
2 changed files with 19 additions and 0 deletions
+4
View File
@@ -1636,7 +1636,11 @@ void reord_deinit_sta(struct aicwf_rx_priv* rx_priv, struct reord_ctrl_info *reo
reord_rxframe_free(&rx_priv->freeq_lock, &rx_priv->rxframes_freequeue, &req->rxframe_list);
}
#if (LINUX_VERSION_CODE <= KERNEL_VERSION(6, 18, 0))
AICWFDBG(LOGINFO, "reord dinit in_irq():%d in_atomic:%d in_softirq:%d\r\n", (int)in_irq()
#else
AICWFDBG(LOGINFO, "reord dinit in_irq():%d in_atomic:%d in_softirq:%d\r\n", (int)in_hardirq()
#endif
,(int)in_atomic(), (int)in_softirq());
spin_unlock_bh(&preorder_ctrl->reord_list_lock);
}