diff options
author | ru <ru@FreeBSD.org> | 2009-12-18 12:10:42 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2009-12-18 12:10:42 +0000 |
commit | 0c4b4a5c2b4a37b1dacf179368080f353b911872 (patch) | |
tree | 279d7010fedb1467434338c52016d198013d479f /sys/compat/linux/linux_signal.c | |
parent | 36f082ff8ff98f121ca93b7f9e4fa7a381b4806b (diff) | |
download | FreeBSD-src-0c4b4a5c2b4a37b1dacf179368080f353b911872.zip FreeBSD-src-0c4b4a5c2b4a37b1dacf179368080f353b911872.tar.gz |
- Fixed incorrect watchdog timeout setting: MSB of a 2-byte
value is obtained by dividing it by 256, not by 2550; also,
one second is 10^9 nanoseconds, not 1800000000 nanoseconds.
- Due to rounding error, setting watchdog to a really small
timeout (<1 sec) was turning the watchdog off. It should
set the watchdog to a small timeout instead.
- Implemented error checking in ipmi_wd_event(), as required
by watchdog(9).
PR: kern/130512
Submitted by: Dmitrij Tejblum
- Additionally, check that the timeout value is within the
supported range, and if it's too large, act as required by
watchdog(9).
MFC after: 3 days
Diffstat (limited to 'sys/compat/linux/linux_signal.c')
0 files changed, 0 insertions, 0 deletions