dpaa: Enable preemption in qm_mr_process_task()

This commit is contained in:
Sebastian Huber
2017-05-18 07:44:00 +02:00
parent b3a6ad0d6a
commit 3471177263

View File

@@ -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);