diff --git a/common/clock.c b/common/clock.c index ad708ad..8eeb917 100644 --- a/common/clock.c +++ b/common/clock.c @@ -104,7 +104,7 @@ { uint64_t start = get_time_ns(); - while(!is_timeout(start, usecs * 1000)); + while(!is_timeout(start, usecs * USECOND)); } EXPORT_SYMBOL(udelay); @@ -112,7 +112,7 @@ { uint64_t start = get_time_ns(); - while(!is_timeout(start, msecs * 1000000)); + while(!is_timeout(start, msecs * MSECOND)); } EXPORT_SYMBOL(mdelay);