Skip to content
Commit 2d6f0d0c authored by James Bottomley's avatar James Bottomley
Browse files

[SCSI] gdth: fix timer handling



The global timer handling is problematic in that if someone unbinds a
PCI gdth instance, the BUG_ON() in the timer will cause a panic.

Fix this by making the timer start and stop depending on whether there
are instances present.  This should also permit binding and unbinding
to work.

Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 3de2403e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment