diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2005-10-30 15:03:29 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 17:37:29 -0800 |
commit | 9090e6db87e3bdb2a2c187ebc0f9175a9f9e5c6f (patch) | |
tree | 46e4a5a27f9d6c694aec2ffba54f90947e8b0477 /drivers/char/generic_serial.c | |
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>
Diffstat (limited to 'drivers/char/generic_serial.c')
0 files changed, 0 insertions, 0 deletions