summaryrefslogtreecommitdiff
path: root/os/pc/i8253.c
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2007-04-07 12:52:27 +0000
committerCharles.Forsyth <devnull@localhost>2007-04-07 12:52:27 +0000
commite1bd49a1e1823eab71c293efd1bd0c9b83c350c9 (patch)
treea9424cde16004cb9e591045225bc61beed339dd5 /os/pc/i8253.c
parent15345f9c75c069d3e2e362af5d6f931eef7772ef (diff)
20070407-1350 more updates from plan 9 pc kernel, and a few unreachable fixes(!)
Diffstat (limited to 'os/pc/i8253.c')
-rw-r--r--os/pc/i8253.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/pc/i8253.c b/os/pc/i8253.c
index d7cff39e..0759088f 100644
--- a/os/pc/i8253.c
+++ b/os/pc/i8253.c
@@ -201,7 +201,7 @@ i8253timerset(uvlong next)
period = want - now;
if(period < MinPeriod)
period = MinPeriod;
- else if(period > (4*MaxPeriod)/5) /* strong attraction to MaxPeriod */
+ else if(period > MaxPeriod)
period = MaxPeriod;
}