commit | af95eade68da4dfa29c5b64d79cffc9709facf00 | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Sun Oct 30 15:03:38 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Oct 30 17:37:30 2005 -0800 |
tree | 17db9f696dbdbb222d9a4a41e8d02f5378fe8d48 | |
parent | 8e8505be9c0ba608cbd634faa8fba361f17d2512 [diff] |
[PATCH] hpet: fix division by zero in HPET_INFO Fix a division by zero that happened when the HPET_INFO ioctl was called before a timer frequency had been set. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Cc: Bob Picco <bob.picco@hp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>