From c4928b2df92b50462bbefe38393359819a65a9be Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Fri, 8 Apr 2011 16:57:44 +0000 Subject: [PATCH] libsys: fix micro_delay() --- lib/libsys/tsc_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libsys/tsc_util.c b/lib/libsys/tsc_util.c index 545991c9b..4c08e480a 100644 --- a/lib/libsys/tsc_util.c +++ b/lib/libsys/tsc_util.c @@ -62,7 +62,7 @@ micro_delay(u32_t micros) CALIBRATE; /* We have to know when to end the delay. */ - end = add64(now, mul64u(micros, calib_mhz * 1000)); + end = add64(now, mul64u(micros, calib_mhz)); /* If we have to wait for at least one HZ tick, use the regular * tickdelay first. Round downwards on purpose, so the average -- 2.44.0