mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 03:17:56 +08:00
dpaa: Enable preemption in qm_mr_process_task()
This commit is contained in:
@@ -1438,7 +1438,13 @@ static void qm_mr_process_task(struct work_struct *work)
|
|||||||
} else {
|
} else {
|
||||||
/* Its a software ERN */
|
/* Its a software ERN */
|
||||||
fq = tag_to_fq(be32_to_cpu(msg->ern.tag));
|
fq = tag_to_fq(be32_to_cpu(msg->ern.tag));
|
||||||
|
#ifdef __rtems__
|
||||||
|
preempt_enable();
|
||||||
|
#endif /* __rtems__ */
|
||||||
fq->cb.ern(p, fq, msg);
|
fq->cb.ern(p, fq, msg);
|
||||||
|
#ifdef __rtems__
|
||||||
|
preempt_disable();
|
||||||
|
#endif /* __rtems__ */
|
||||||
}
|
}
|
||||||
num++;
|
num++;
|
||||||
qm_mr_next(&p->p);
|
qm_mr_next(&p->p);
|
||||||
|
Reference in New Issue
Block a user