mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
smi_mod_timer() enables the timer before setting timer_running. This means the timer can be running when we get to stop_timer_and_thread() without timer_running having been set, resulting in del_timer_sync() not being called and the timer being left to cause havoc during shutdown. Instead just call del_timer_sync() unconditionally Signed-off-by: Jes Sorensen <[email protected]> Message-Id: <[email protected]> Signed-off-by: Corey Minyard <[email protected]>