diff options
Diffstat (limited to 'linux/drivers/soc/fsl/qbman/qman.c')
-rw-r--r-- | linux/drivers/soc/fsl/qbman/qman.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/drivers/soc/fsl/qbman/qman.c b/linux/drivers/soc/fsl/qbman/qman.c index c8cf64f7..18c1de57 100644 --- a/linux/drivers/soc/fsl/qbman/qman.c +++ b/linux/drivers/soc/fsl/qbman/qman.c @@ -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); |