9
0
Fork 0

clock.c: use USECOND and MSECOND

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2009-11-24 20:49:38 +01:00 committed by Sascha Hauer
parent 9434fe68e4
commit c762cdbb02
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ void udelay(unsigned long usecs)
{
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 @@ void mdelay(unsigned long msecs)
{
uint64_t start = get_time_ns();
while(!is_timeout(start, msecs * 1000000));
while(!is_timeout(start, msecs * MSECOND));
}
EXPORT_SYMBOL(mdelay);