From 2131c68c97b6631b4d73544d2bcf44a6fabae1ee Mon Sep 17 00:00:00 2001 From: Bret Lambert Date: Tue, 6 Jul 2010 09:49:48 +0000 Subject: timeout_add -> timeout_add_msec ok art@ --- sys/arch/i386/i386/via.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/i386') 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); } -- cgit v1.2.3