]> asedeno.scripts.mit.edu Git - linux.git/commit
soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
authorMadalin Bucur <madalin.bucur@nxp.com>
Wed, 14 Mar 2018 13:37:28 +0000 (08:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Mar 2018 17:16:23 +0000 (13:16 -0400)
commit96f413f47677366e0ae03797409bfcc4151dbf9e
tree7af9a10f9e6cd852d54160e1615bc0fce4c380c4
parent4dcb31d4649df36297296b819437709f5407059c
soc/fsl/qbman: fix issue in qman_delete_cgr_safe()

The wait_for_completion() call in qman_delete_cgr_safe()
was triggering a scheduling while atomic bug, replacing the
kthread with a smp_call_function_single() call to fix it.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/soc/fsl/qbman/qman.c