commit | 9090e6db87e3bdb2a2c187ebc0f9175a9f9e5c6f | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Sun Oct 30 15:03:29 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Oct 30 17:37:29 2005 -0800 |
tree | 46e4a5a27f9d6c694aec2ffba54f90947e8b0477 | |
parent | 874ec33ff9ccf3651590697a2c2923b911bf31d0 [diff] |
[PATCH] hpet: disallow zero interrupt frequency Disallow setting an interrupt frequency of zero (which would result in a division by zero), and disallow enabling the interrupt when the frequency hasn't yet been set (which would use an interrupt period of zero). Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>