summaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-11-04 10:15:04 +0100
committerDavid S. Miller <davem@davemloft.net>2011-11-04 22:31:48 +0100
commit5b1906241905d9bd1abe920854b3d43c2b9c85e1 (patch)
treed259390621daa923977f00fb43415a09da565cd5 /drivers/pnp
parenttg3: Schedule at most one tg3_reset_task run (diff)
downloadlinux-5b1906241905d9bd1abe920854b3d43c2b9c85e1.tar.xz
linux-5b1906241905d9bd1abe920854b3d43c2b9c85e1.zip
tg3: Eliminate timer race with reset_task
During shutdown, it is impossible to reliably disable the timer and reset_task threads. Each thread can schedule the other, which leads to shutdown code that chases its tail. To fix the problem, this patch removes the ability of tg3_reset_task to schedule a new timer thread. To support this change, tg3_timer no longer terminates itself, but rather goes into a polling mode. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions