diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-12-12 21:51:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-12-12 21:51:30 +0000 |
commit | e4bf8a4841f352e4c17200edf0150269317d766f (patch) | |
tree | f3f06afe24be35ee8b1c2e592643ee9335a438f5 /sys | |
parent | 7ac7e2e3a1cbd083f1bd209698b26a19d660f91a (diff) |
Provide a better delay() resolution on 188.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme88k/dev/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/clock.c b/sys/arch/mvme88k/dev/clock.c index 3fcc2a61db9..58415f8bbe9 100644 --- a/sys/arch/mvme88k/dev/clock.c +++ b/sys/arch/mvme88k/dev/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.26 2003/10/11 22:06:50 miod Exp $ */ +/* $OpenBSD: clock.c,v 1.27 2003/12/12 21:51:29 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * Copyright (c) 1995 Theo de Raadt @@ -591,7 +591,7 @@ delay(int us) * If we can't use a real timer, use a tight loop. */ { - volatile int c = 3 * us; /* XXX not accurate! */ + volatile int c = (25 * us) / 3; /* XXX not accurate! */ while (--c > 0) ; } |