mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 12:31:27 +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 {
|
||||
/* Its a software ERN */
|
||||
fq = tag_to_fq(be32_to_cpu(msg->ern.tag));
|
||||
#ifdef __rtems__
|
||||
preempt_enable();
|
||||
#endif /* __rtems__ */
|
||||
fq->cb.ern(p, fq, msg);
|
||||
#ifdef __rtems__
|
||||
preempt_disable();
|
||||
#endif /* __rtems__ */
|
||||
}
|
||||
num++;
|
||||
qm_mr_next(&p->p);
|
||||
|
Reference in New Issue
Block a user