mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
* grub-core/loader/i386/linux.c (find_efi_mmap_size): Page-align
cached mmap_size, so that this works correctly when called multiple times. Reported by: Daniel Kahn Gillmor. Should fix Debian bug #616638.
This commit is contained in:
1 parent
83a3c48d37
commit
be1a7ce0cf
2 files changed
+9
-1
No files matched your search
@@ -1,3 +1,10 @@
|
|||||||
|
2011-03-09 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
|
* grub-core/loader/i386/linux.c (find_efi_mmap_size): Page-align
|
||||||
|
cached mmap_size, so that this works correctly when called multiple
|
||||||
|
times.
|
||||||
|
Reported by: Daniel Kahn Gillmor. Should fix Debian bug #616638.
|
||||||
|
|
||||||
2011-03-09 Colin Watson <cjwatson@ubuntu.com>
|
2011-03-09 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* docs/grub.texi (Simple configuration): Tidy up formatting.
|
* docs/grub.texi (Simple configuration): Tidy up formatting.
|
||||||
|
|||||||
@@ -136,7 +136,8 @@ find_efi_mmap_size (void)
|
|||||||
later, and EFI itself may allocate more. */
|
later, and EFI itself may allocate more. */
|
||||||
mmap_size += (1 << 12);
|
mmap_size += (1 << 12);
|
||||||
|
|
||||||
return page_align (mmap_size);
|
mmap_size = page_align (mmap_size);
|
||||||
|
return mmap_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user