* grub-core/kern/uboot/init.c: Fix units of uboot timer.

This commit is contained in:
Ian Campbell 2013-12-15 17:59:40 +01:00 committed by Vladimir Serbinenko
parent 04b0285701
commit 80b865bdc8
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2013-12-15 Ian Campbell <ijc@hellion.org.uk>
* grub-core/kern/uboot/init.c: Fix units of uboot timer.
2013-12-15 Vladimir Serbinenko <phcoder@gmail.com>
New functional test for sleep function.

View file

@ -66,8 +66,7 @@ uboot_timer_ms (void)
if (cur < last)
high++;
last = cur;
return grub_divmod64 ((((grub_uint64_t) high) << 32) | cur,
1000, 0);
return (((grub_uint64_t) high) << 32) | cur;
}
void