diff options
author | Tejun Heo <tj@kernel.org> | 2010-12-12 15:45:14 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-12-12 15:45:14 (GMT) |
commit | fe8998c5e3b173f3d5c450bbde6173e7fbe5158d (patch) | |
tree | e098fe0774ba3f9e4b05a52dca078de7fb82fcca /drivers/net/depca.h | |
parent | 760141a53e5d72d4cc1d8c6e2a0232a24bedb36b (diff) | |
download | linux-fsl-qoriq-fe8998c5e3b173f3d5c450bbde6173e7fbe5158d.tar.xz |
sungem: update gp->reset_task flushing
gp->reset_task_pending is always set right before reset_task is
scheduled and as there is no synchronization between the setting and
scheduling, busy looping on reset_task_pending before flushing
reset_task doesn't really buy anything.
Directly flush gp->reset_task on suspend and cancel on detach.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Diffstat (limited to 'drivers/net/depca.h')
0 files changed, 0 insertions, 0 deletions