commit | 423a5bb49ec530ec8bbfc73fd2ded83da8e58684 | [log] [tgz] |
---|---|---|
author | Corey Minyard <cminyard@mvista.com> | Wed Mar 28 14:42:50 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Mar 28 17:14:36 2012 -0700 |
tree | d70f4fedba821f80b5b4c2511fcf36aec07e9d03 | |
parent | f60adf42ad55405d1b17e9e5c33fdb63f1eb8861 [diff] |
ipmi: use locks on watchdog timeout set on reboot The IPMI watchdog timer clears or extends the timer on reboot/shutdown. It was using the non-locking routine for setting the watchdog timer, but this was causing race conditions. Instead, use the locking version to avoid the races. It seems to work fine. Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>