diff options
author | Corey Minyard | 2012-03-28 23:42:50 +0200 |
---|---|---|
committer | Linus Torvalds | 2012-03-29 02:14:36 +0200 |
commit | 423a5bb49ec530ec8bbfc73fd2ded83da8e58684 (patch) | |
tree | d70f4fedba821f80b5b4c2511fcf36aec07e9d03 /kernel/sysctl.c | |
parent | ipmi: simplify locking (diff) | |
download | kernel-qcow2-linux-423a5bb49ec530ec8bbfc73fd2ded83da8e58684.tar.gz kernel-qcow2-linux-423a5bb49ec530ec8bbfc73fd2ded83da8e58684.tar.xz kernel-qcow2-linux-423a5bb49ec530ec8bbfc73fd2ded83da8e58684.zip |
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>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions