diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2010-07-06 09:49:48 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2010-07-06 09:49:48 +0000 |
commit | 2131c68c97b6631b4d73544d2bcf44a6fabae1ee (patch) | |
tree | 12d9a391543d7e5215ad668aa6590b99cfbafea7 /sys/arch | |
parent | b0e37f27c62e56dda0afd39d8e27d6c55eaf031f (diff) |
timeout_add -> timeout_add_msec
ok art@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/via.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/via.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/via.c b/sys/arch/amd64/amd64/via.c index 1bbae99dd50..59ce44ee457 100644 --- a/sys/arch/amd64/amd64/via.c +++ b/sys/arch/amd64/amd64/via.c @@ -1,4 +1,4 @@ -/* $OpenBSD: via.c,v 1.6 2010/07/02 02:40:15 blambert Exp $ */ +/* $OpenBSD: via.c,v 1.7 2010/07/06 09:49:47 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -564,5 +564,5 @@ viac3_rnd(void *v) for (i = 0, p = buffer; i < VIAC3_RNG_BUFSIZ; i++, p++) add_true_randomness(*p); - timeout_add(tmo, (hz > 100) ? (hz / 100) : 1); + timeout_add_msec(tmo, 10); } diff --git a/sys/arch/i386/i386/via.c b/sys/arch/i386/i386/via.c index 5dec39cc89b..580003946f2 100644 --- a/sys/arch/i386/i386/via.c +++ b/sys/arch/i386/i386/via.c @@ -1,4 +1,4 @@ -/* $OpenBSD: via.c,v 1.23 2010/07/02 02:40:15 blambert Exp $ */ +/* $OpenBSD: via.c,v 1.24 2010/07/06 09:49:47 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -565,5 +565,5 @@ viac3_rnd(void *v) for (i = 0, p = buffer; i < VIAC3_RNG_BUFSIZ; i++, p++) add_true_randomness(*p); - timeout_add(tmo, (hz > 100) ? (hz / 100) : 1); + timeout_add_msec(tmo, 10); } |