* grub-core/fs/hfs.c (grub_hfs_read_file): Avoid divmod64 since the

maximum size is 4G - 1 on hfs
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-03-10 18:27:53 +01:00
parent 5341c0fbfc
commit 3dac5878ec
2 changed files with 13 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2013-03-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/hfs.c (grub_hfs_read_file): Avoid divmod64 since the
maximum size is 4G - 1 on hfs
2013-03-10 Vladimir Serbinenko <phcoder@gmail.com>
Avoid costly 64-bit division in grub_get_time_ms on most platforms.