* 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
|
@ -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…
Add table
Add a link
Reference in a new issue