* grub-core/kern/uboot/init.c: Fix units of uboot timer.
This commit is contained in:
parent
04b0285701
commit
80b865bdc8
2 changed files with 5 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue